ForeignKeyConstraint
Assembly: ServiceStack.OrmLite.dll
View Source
Declaration
public class ForeignKeyConstraint : object
Properties
ReferenceType
View Source
Declaration
public Type ReferenceType { get; }
OnDelete
View Source
Declaration
public string OnDelete { get; }
OnUpdate
View Source
Declaration
public string OnUpdate { get; }
ForeignKeyName
View Source
Declaration
public string ForeignKeyName { get; }
Methods
GetForeignKeyName(ModelDefinition, ModelDefinition, INamingStrategy, FieldDefinition)
View Source
Declaration
public string GetForeignKeyName(ModelDefinition modelDef, ModelDefinition refModelDef, INamingStrategy namingStrategy, FieldDefinition fieldDef)
Returns
System.String
Parameters
Type | Name |
---|---|
ServiceStack.OrmLite.ModelDefinition | modelDef |
ServiceStack.OrmLite.ModelDefinition | refModelDef |
ServiceStack.OrmLite.INamingStrategy | namingStrategy |
ServiceStack.OrmLite.FieldDefinition | fieldDef |