Skip to main content

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
TypeName
ServiceStack.OrmLite.ModelDefinitionmodelDef
ServiceStack.OrmLite.ModelDefinitionrefModelDef
ServiceStack.OrmLite.INamingStrategynamingStrategy
ServiceStack.OrmLite.FieldDefinitionfieldDef