default values in constructor
Posted: Thu 22 Aug 2013 18:18
My oracle database uses lower(sys_guid()) as the default for PK columns.
The generated class has the following:
public ADMIN_CUSTOMER()
{
this.ACUST_GUID = @"lower(sys_guid())";
}
I would like it to generate the following:
public ADMIN_CUSTOMER()
{
this.ACUST_GUID = Guid.NewGuid().ToString("N").ToLower();
}
Is this possible?
The generated class has the following:
public ADMIN_CUSTOMER()
{
this.ACUST_GUID = @"lower(sys_guid())";
}
I would like it to generate the following:
public ADMIN_CUSTOMER()
{
this.ACUST_GUID = Guid.NewGuid().ToString("N").ToLower();
}
Is this possible?