Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How do you specify a schema name for a POCO object?
I have the following which allows me to specify the table name, but how do I specify the Schema name if the table is not in the dbo namespace?
[TableName("Products")] [DataContract(Name = "product")] public class Product { // code here }
bump. can somebody please shed some light on how to properly set the schema name?
Indeed I have the problem now! Gonna use EF since Peta POCO is just broken as soon as one try to use NON dbo tables.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Umbraco.Core.Persistence set Schema name
How do you specify a schema name for a POCO object?
I have the following which allows me to specify the table name, but how do I specify the Schema name if the table is not in the dbo namespace?
bump. can somebody please shed some light on how to properly set the schema name?
Indeed I have the problem now! Gonna use EF since Peta POCO is just broken as soon as one try to use NON dbo tables.
is working on a reply...