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
Type | Name |
---|---|
System.String | name |
GetColumnName(String)
View Source
Declaration
public override string GetColumnName(string name)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | name |
Inherited Methods
ApplyNameRestrictions(String)
View Source
Declaration
public virtual string ApplyNameRestrictions(string name)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | name |
GetColumnName(String)
View Source
Declaration
public virtual string GetColumnName(string name)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | name |
GetSchemaName(ModelDefinition)
View Source
Declaration
public virtual string GetSchemaName(ModelDefinition modelDef)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.ModelDefinition | modelDef |
GetSchemaName(String)
View Source
Declaration
public virtual string GetSchemaName(string name)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | name |
GetSequenceName(String, String)
View Source
Declaration
public virtual string GetSequenceName(string modelName, string fieldName)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | modelName |
System.String | fieldName |
GetTableName(ModelDefinition)
View Source
Declaration
public virtual string GetTableName(ModelDefinition modelDef)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.ModelDefinition | modelDef |
GetTableName(String)
View Source
Declaration
public virtual string GetTableName(string name)
Returns
System.String
Parameters
Type | Name |
---|---|
System.String | name |