You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
537 B
18 lines
537 B
namespace Connected.Entities.Annotations
|
|
{
|
|
public abstract class SchemaAttribute : MappingAttribute
|
|
{
|
|
public const string DefaultSchema = "dbo";
|
|
public const string SchemaTypeTable = "Table";
|
|
/*
|
|
* sys schema is reserved for system views and tables by sql.
|
|
*/
|
|
public const string SysSchema = "sxs";
|
|
public const string TypesSchema = "typ";
|
|
public string? Id { get; set; }
|
|
public string? Name { get; set; }
|
|
public string? Schema { get; set; } = DefaultSchema;
|
|
|
|
}
|
|
}
|