ForeignKeyService Class
Namespace: PTS.Includers.Infrastructure
Assembly: PTS.DomainFramework.Includers.Infrastructure.dll
Syntax
public class ForeignKeyService : EntityService, IForeignKeyService
Implements
Constructors
ForeignKeyService(IEntityServiceScope)
Declaration
public ForeignKeyService(IEntityServiceScope container)
Parameters
Type | Name | Description |
---|---|---|
IEntityServiceScope | container |
Methods
GetForeignKey(Type, Type, Boolean)
Declaration
public IForeignKey GetForeignKey(Type primaryKeyType, Type foreignKeyType, bool require)
Parameters
Type | Name | Description |
---|---|---|
System.Type | primaryKeyType | |
System.Type | foreignKeyType | |
System.Boolean | require |
Returns
Type | Description |
---|---|
Microsoft.EntityFrameworkCore.Metadata.IForeignKey |
Start()
Declaration
public void Start()
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()