Skip to main content

INamingStrategy

Assembly: ServiceStack.OrmLite.dll
View Source
Declaration
public interface INamingStrategy

Methods

GetSchemaName(String)

View Source
Declaration
string GetSchemaName(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

GetSchemaName(ModelDefinition)

View Source
Declaration
string GetSchemaName(ModelDefinition modelDef)
Returns

System.String

Parameters
TypeName
ServiceStack.OrmLite.ModelDefinitionmodelDef

GetTableName(String)

View Source
Declaration
string GetTableName(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

GetTableName(ModelDefinition)

View Source
Declaration
string GetTableName(ModelDefinition modelDef)
Returns

System.String

Parameters
TypeName
ServiceStack.OrmLite.ModelDefinitionmodelDef

GetColumnName(String)

View Source
Declaration
string GetColumnName(string name)
Returns

System.String

Parameters
TypeName
System.Stringname

GetSequenceName(String, String)

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

System.String

Parameters
TypeName
System.StringmodelName
System.StringfieldName

ApplyNameRestrictions(String)

View Source
Declaration
string ApplyNameRestrictions(string name)
Returns

System.String

Parameters
TypeName
System.Stringname