internal static string TableOrView <T>() => DbSetting.GetEntity <T>().View ?? DbSetting.GetEntity <T>().TableName;
internal static Property[] GetProperties <T>() => DbSetting.GetEntity <T>().Properties;
internal static string PK <T>() => DbSetting.GetEntity <T>().PrimaryKey;