DefaultNameOverride property

Indicates that an object should should be persisted and retrieved from a table that does not match the default ObjectFactory conventions of tbl[ClassName].

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

Syntax

public string DefaultNameOverride = null;

Examples

[RelationalInfo(DefaultNameOverride = "xyz_ContactList")]
public class Contact
{
    public int ContactID;

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

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