Indicates the connection string name that should be used by ObjectFactory when operating with the data object in question. Overrides the default connection string name.
Namespace: ReFlex.Data namespace Assembly: ReFlex.Data.dll
public string DefaultDatabaseOverride = null;
Default is null, default database connection will be used.
[RelationalInfo(DefaultDatabaseOverride = "MyConnectionString")]public class Contact{ public int ContactID; [RelationalMemberInfo(Length = 50)] public string FirstName; [RelationalMemberInfo(Length = 50)] public string LastName;}