C# Class ServiceStack.OrmLite.ForeignKeyConstraint

Mostrar archivo Open project: ServiceStack/ServiceStack.OrmLite Class Usage Examples

Public Methods

Method Description
ForeignKeyConstraint ( Type type, string onDelete = null, string onUpdate = null, string foreignKeyName = null ) : System
GetForeignKeyName ( ServiceStack.OrmLite.ModelDefinition modelDef, ServiceStack.OrmLite.ModelDefinition refModelDef, INamingStrategy NamingStrategy, FieldDefinition fieldDef ) : string

Method Details

ForeignKeyConstraint() public method

public ForeignKeyConstraint ( Type type, string onDelete = null, string onUpdate = null, string foreignKeyName = null ) : System
type System.Type
onDelete string
onUpdate string
foreignKeyName string
return System

GetForeignKeyName() public method

public GetForeignKeyName ( ServiceStack.OrmLite.ModelDefinition modelDef, ServiceStack.OrmLite.ModelDefinition refModelDef, INamingStrategy NamingStrategy, FieldDefinition fieldDef ) : string
modelDef ServiceStack.OrmLite.ModelDefinition
refModelDef ServiceStack.OrmLite.ModelDefinition
NamingStrategy INamingStrategy
fieldDef FieldDefinition
return string