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"}
Bug with [Column(IsDbGenerated=false)] ?
Why did you place the [Column(IsDbGenerated=false)] attribute before the class and property definitions? Please remove them. Probably, if you extended your class with this property, there is no column in the database associated with this property. Engine is looking for the same column if you set this attribute.