Oracle UDT with UDT attribute support?
Posted: Tue 03 May 2011 23:36
Does LinqConnect support oracle UDTs which contain UDT attributes, for example something like this?
I have run the LinqConnect Model wizard against a table of the above objects but when I query the table I get the following exception:
The generated code looks like this:
Thanks in advance.
Code: Select all
CREATE TYPE Customer_objtyp AS OBJECT (
CustNo NUMBER,
CustName VARCHAR2(200),
Address_obj ADDRESS_OBJTYP
) NOT FINAL;
Code: Select all
System.InvalidOperationException Invalid datatype: ADDRESS_OBJTYP
Code: Select all
[Column(Name = @"ADDRESS_OBJ", Storage = "_ADDRESSOBJ", DbType = "ADDRESS_OBJTYP NULL")]
public object ADDRESSOBJ
{
get
{
return this._ADDRESSOBJ;
}
set
{
if (this._ADDRESSOBJ != value)
{
this.OnADDRESSOBJChanging(value);
this.SendPropertyChanging();
this._ADDRESSOBJ = value;
this.SendPropertyChanged("ADDRESSOBJ");
this.OnADDRESSOBJChanged();
}
}
}