Bug with [Column(IsDbGenerated=false)] ?
Posted: Mon 21 Jun 2010 09:54
Hi
DB – Oracle 10.1
Windows 7 (64) + Visual Studio 2010 + dotconnect 5.7.140
I Exteded my class as folowwing
[Column(IsDbGenerated=false)]
public partial class Customer
{
[Column(IsDbGenerated=false)]
public Guid ID
{
get { return (string.IsNullOrEmpty(CustomerID) ? Guid.Empty : Guid.Parse(CustomerID)); }
set { CustomerID = value.ToString(); }
}
}
If I execute the linq query on customers I get LinqCommandExecutionException
InnerException: {"ORA-00904: \"T1\".\"ID\": invalid identifier"}
DB – Oracle 10.1
Windows 7 (64) + Visual Studio 2010 + dotconnect 5.7.140
I Exteded my class as folowwing
[Column(IsDbGenerated=false)]
public partial class Customer
{
[Column(IsDbGenerated=false)]
public Guid ID
{
get { return (string.IsNullOrEmpty(CustomerID) ? Guid.Empty : Guid.Parse(CustomerID)); }
set { CustomerID = value.ToString(); }
}
}
If I execute the linq query on customers I get LinqCommandExecutionException
InnerException: {"ORA-00904: \"T1\".\"ID\": invalid identifier"}