Using any of the recent nhibernate templates on a SQL Server 2005 table. I seem to be picking up alot of Unknown type info for the columns in the template output.
Using the Gentle.NET templates seemed to create types okay. Both templates seem to use IColumn.LanguageType for picking up column type info so I would have expected similar behavior if it was as underlying MyMeta problem.
Thoughts on where I might look to track down the issue?
Here's the output of the nhibernate template:
...
[Serializable]
public sealed class Client
{
#region Private Members
private bool m_isChanged;
private bool m_isDeleted;
private Unknown m_clientid;
private Unknown m_name;
private Unknown m_createdby;
private Unknown m_updatedby;
private Unknown m_createdon;
private Unknown m_updatedon;
private Unknown m_projectcounter;
#endregion
...
But the Gentle.Net template picks up the right info:
[TableName(\"CLIENT\", CacheStrategy.Temporary)]
public class Client : Persistent
{
#region Members
private bool isChanged;
[TableColumn(\"CLIENTID\", NotNull=true), PrimaryKey(AutoGenerated=false)]
private int clientid;
[TableColumn(\"NAME\", NullValue=\"\")]
private string name;
[TableColumn(\"CREATEDBY\", NullValue=0)]
private int createdby;
[TableColumn(\"UPDATEDBY\", NullValue=0)]
private int updatedby;
[TableColumn(\"CREATEDON\")]
private DateTime createdon;
[TableColumn(\"UPDATEDON\")]
private DateTime updatedon;
[TableColumn(\"PROJECTCOUNTER\", NullValue=0)]
private int projectcounter;
#endregion
