Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Clickfarm 77 posts 161 karma points
    Feb 25, 2015 @ 20:07
    Clickfarm
    1

    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?

    [TableName("Products")]
    [DataContract(Name = "product")]
    public class Product
    {
       // code here
    }
    
  • Clickfarm 77 posts 161 karma points
    Mar 03, 2015 @ 15:41
    Clickfarm
    0

    bump. can somebody please shed some light on how to properly set the schema name?

  • Lloyd Dupont 7 posts 78 karma points
    Sep 15, 2015 @ 03:56
    Lloyd Dupont
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft