DefaultIdentifierOverride property

Indicates that the identifier (primary key) name does not match the default ObjectFactory conventions of [ClassName]ID.

Namespace: ReFlex.Data namespace
Assembly: ReFlex.Data.dll

Syntax

public string DefaultIdentifierOverride = null;

Examples

[RelationalInfo(DefaultIdentifierOverride = "xyz_contact_id")]
public class Contact
{
    public int xyz_contact_id;

    [RelationalMemberInfo(Length = 50)]
    public string FirstName;

    [RelationalMemberInfo(Length = 50)]
    public string LastName;
}