Skip to main content

AliasNamingStrategy

Assembly: ServiceStack.OrmLite.dll
View Source
Declaration
public class AliasNamingStrategy : OrmLiteNamingStrategyBase, INamingStrategy

Properties

UseNamingStrategy

View Source
Declaration
public INamingStrategy UseNamingStrategy { get; set; }

Fields

TableAliases

View Source
Declaration
public Dictionary<string, string> TableAliases

ColumnAliases

View Source
Declaration
public Dictionary<string, string> ColumnAliases

Methods

GetTableName(String)

View Source
Declaration
public override string GetTableName(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

GetColumnName(String)

View Source
Declaration
public override string GetColumnName(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

Inherited Methods

ApplyNameRestrictions(String)

View Source
Declaration
public virtual string ApplyNameRestrictions(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

GetColumnName(String)

View Source
Declaration
public virtual string GetColumnName(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

GetSchemaName(ModelDefinition)

View Source
Declaration
public virtual string GetSchemaName(ModelDefinition modelDef)
Returns

System.String

Parameters
TypeName
ServiceStack.OrmLite.ModelDefinitionmodelDef

GetSchemaName(String)

View Source
Declaration
public virtual string GetSchemaName(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

GetSequenceName(String, String)

View Source
Declaration
public virtual string GetSequenceName(string modelName, string fieldName)
Returns

System.String

Parameters
TypeName
System.StringmodelName
System.StringfieldName

GetTableName(ModelDefinition)

View Source
Declaration
public virtual string GetTableName(ModelDefinition modelDef)
Returns

System.String

Parameters
TypeName
ServiceStack.OrmLite.ModelDefinitionmodelDef

GetTableName(String)

View Source
Declaration
public virtual string GetTableName(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

Implements