LinqConnect Documentation
In This Topic
    Specifying Table Name
    In This Topic

    The name of a table the entity is mapped to can be specified with the following methods:

    If full table name is not specified, the TableNameConvention convention will generate it using the class name or TableName, SchemaName, and DatabaseName parameters. Parts of the full name will be quoted, if needed, according to the quoting rules of the specific database.

    builder.Entity<Order>()
        .FullTableName(@"CRM_DEMO.""Orders""");
     
    builder.Entity<Order>()
        .SchemaName("CRM_DEMO");
        .TableName("Orders");