Skip to content

MasterDetailRelationAttribute.MasterKeyField property

Optional: override the default behaviour and use a different master id (PK) field (i.e. from a unique constraint)

public string? MasterKeyField { get; set; }

See Also