This question is locked. New answers and comments are not allowed.
Hello,
Could someone please explain why when generating the ORM DAL - ORM would interpret field with the same domain differently.
DMS being used is FireBird 2.0 - simple customer table -
Customer(
Fax Char(10) ,
County Char(1)
)
here's the generated code - why the System.Null<System.Char> type????
private string fAX;
[Column("FAX", OpenAccessType = OpenAccessType.Character, IsNullable = true, Length = 10, SqlType = "CHAR")]
[Storage("fAX")]
public virtual string FAX
{
get
{
return this.fAX;
}
set
{
this.fAX = value;
}
}
private System.Nullable<System.Char> cOUNTRYID;
[Column("COUNTRYID", OpenAccessType = OpenAccessType.Character, IsNullable = true, Length = 1, SqlType = "CHAR")]
[Storage("cOUNTRYID")]
public virtual System.Nullable<System.Char> COUNTRYID
{
get
{
return this.cOUNTRYID;
}
set
{
this.cOUNTRYID = value;
}
}
Thanks -
Could someone please explain why when generating the ORM DAL - ORM would interpret field with the same domain differently.
DMS being used is FireBird 2.0 - simple customer table -
Customer(
Fax Char(10) ,
County Char(1)
)
here's the generated code - why the System.Null<System.Char> type????
private string fAX;
[Column("FAX", OpenAccessType = OpenAccessType.Character, IsNullable = true, Length = 10, SqlType = "CHAR")]
[Storage("fAX")]
public virtual string FAX
{
get
{
return this.fAX;
}
set
{
this.fAX = value;
}
}
private System.Nullable<System.Char> cOUNTRYID;
[Column("COUNTRYID", OpenAccessType = OpenAccessType.Character, IsNullable = true, Length = 1, SqlType = "CHAR")]
[Storage("cOUNTRYID")]
public virtual System.Nullable<System.Char> COUNTRYID
{
get
{
return this.cOUNTRYID;
}
set
{
this.cOUNTRYID = value;
}
}
Thanks -