Skip to main content

AutoGenContext

Assembly: ServiceStack.Server.dll
View Source
Declaration
public class AutoGenContext : object

Properties

Instruction

AutoGen Request DTO Instruction

View Source
Declaration
public CrudCodeGenTypes Instruction { get; set; }

TableName

Original Table Name

View Source
Declaration
public string TableName { get; }

TableSchema

RDBMS TableSchema

View Source
Declaration
public TableSchema TableSchema { get; }

DataModelName

Generated DataModel Name to use

View Source
Declaration
public string DataModelName { get; set; }

PluralDataModelName

Generated DataModel Name to use for Query Services

View Source
Declaration
public string PluralDataModelName { get; set; }

RoutePathBase

Generated Route Path base to use

View Source
Declaration
public string RoutePathBase { get; set; }

OperationNames

Generated Request DTO Name to use per operation: Query, Create, Update, Patch, Delete

View Source
Declaration
public Dictionary<string, string> OperationNames { get; set; }

Dialect

RDBMS Dialect

View Source
Declaration
public IOrmLiteDialectProvider Dialect { get; set; }

GetTableAlias

Return what table [Alias] name should be used (if any)

View Source
Declaration
public Func<string> GetTableAlias { get; set; }

GetColumnAlias

Return what table column [Alias] name should be used (if any)

View Source
Declaration
public Func<MetadataPropertyType, ColumnSchema, string> GetColumnAlias { get; set; }