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