|
|
|
@ -5,8 +5,8 @@ namespace UMC.Proxy.Entities
|
|
|
|
|
{
|
|
|
|
|
public partial class Site
|
|
|
|
|
{
|
|
|
|
|
readonly static Action<Site, object>[] _SetValues = new Action<Site, object>[] { (r, t) => r.Account = Reflection.ParseObject(t, r.Account), (r, t) => r.AdminConf = Reflection.ParseObject(t, r.AdminConf), (r, t) => r.AppendJSConf = Reflection.ParseObject(t, r.AppendJSConf), (r, t) => r.AppSecret = Reflection.ParseObject(t, r.AppSecret), (r, t) => r.AppSecretAuth = Reflection.ParseObject(t, r.AppSecretAuth), (r, t) => r.AuthConf = Reflection.ParseObject(t, r.AuthConf), (r, t) => r.AuthExpire = Reflection.ParseObject(t, r.AuthExpire), (r, t) => r.AuthType = Reflection.ParseObject(t, r.AuthType), (r, t) => r.Caption = Reflection.ParseObject(t, r.Caption), (r, t) => r.Conf = Reflection.ParseObject(t, r.Conf), (r, t) => r.Domain = Reflection.ParseObject(t, r.Domain), (r, t) => r.Flag = Reflection.ParseObject(t, r.Flag), (r, t) => r.HeaderConf = Reflection.ParseObject(t, r.HeaderConf), (r, t) => r.HelpKey = Reflection.ParseObject(t, r.HelpKey), (r, t) => r.Home = Reflection.ParseObject(t, r.Home), (r, t) => r.Host = Reflection.ParseObject(t, r.Host), (r, t) => r.HostModel = Reflection.ParseObject(t, r.HostModel), (r, t) => r.HostReConf = Reflection.ParseObject(t, r.HostReConf), (r, t) => r.ImagesConf = Reflection.ParseObject(t, r.ImagesConf), (r, t) => r.IsAuth = Reflection.ParseObject(t, r.IsAuth), (r, t) => r.IsDebug = Reflection.ParseObject(t, r.IsDebug), (r, t) => r.IsDesktop = Reflection.ParseObject(t, r.IsDesktop), (r, t) => r.IsMarket = Reflection.ParseObject(t, r.IsMarket), (r, t) => r.IsModule = Reflection.ParseObject(t, r.IsModule), (r, t) => r.LogConf = Reflection.ParseObject(t, r.LogConf), (r, t) => r.LogoutPath = Reflection.ParseObject(t, r.LogoutPath), (r, t) => r.MobileHome = Reflection.ParseObject(t, r.MobileHome), (r, t) => r.ModifyTime = Reflection.ParseObject(t, r.ModifyTime), (r, t) => r.OpenModel = Reflection.ParseObject(t, r.OpenModel), (r, t) => r.OutputCookies = Reflection.ParseObject(t, r.OutputCookies), (r, t) => r.RedirectPath = Reflection.ParseObject(t, r.RedirectPath), (r, t) => r.Root = Reflection.ParseObject(t, r.Root), (r, t) => r.SiteKey = Reflection.ParseObject(t, r.SiteKey), (r, t) => r.SLB = Reflection.ParseObject(t, r.SLB), (r, t) => r.StaticConf = Reflection.ParseObject(t, r.StaticConf), (r, t) => r.Time = Reflection.ParseObject(t, r.Time), (r, t) => r.Timeout = Reflection.ParseObject(t, r.Timeout), (r, t) => r.Type = Reflection.ParseObject(t, r.Type), (r, t) => r.UserBrowser = Reflection.ParseObject(t, r.UserBrowser), (r, t) => r.UserModel = Reflection.ParseObject(t, r.UserModel), (r, t) => r.Version = Reflection.ParseObject(t, r.Version) };
|
|
|
|
|
readonly static string[] _Columns = new string[] { "Account", "AdminConf", "AppendJSConf", "AppSecret", "AppSecretAuth", "AuthConf", "AuthExpire", "AuthType", "Caption", "Conf", "Domain", "Flag", "HeaderConf", "HelpKey", "Home", "Host", "HostModel", "HostReConf", "ImagesConf", "IsAuth", "IsDebug", "IsDesktop", "IsMarket", "IsModule", "LogConf", "LogoutPath", "MobileHome", "ModifyTime", "OpenModel", "OutputCookies", "RedirectPath", "Root", "SiteKey", "SLB", "StaticConf", "Time", "Timeout", "Type", "UserBrowser", "UserModel", "Version" };
|
|
|
|
|
readonly static Action<Site, object>[] _SetValues = new Action<Site, object>[] { (r, t) => r.Account = Reflection.ParseObject(t, r.Account), (r, t) => r.AdminConf = Reflection.ParseObject(t, r.AdminConf), (r, t) => r.AppendJSConf = Reflection.ParseObject(t, r.AppendJSConf), (r, t) => r.AppSecret = Reflection.ParseObject(t, r.AppSecret), (r, t) => r.AppSecretAuth = Reflection.ParseObject(t, r.AppSecretAuth), (r, t) => r.AuthConf = Reflection.ParseObject(t, r.AuthConf), (r, t) => r.AuthExpire = Reflection.ParseObject(t, r.AuthExpire), (r, t) => r.AuthType = Reflection.ParseObject(t, r.AuthType), (r, t) => r.Caption = Reflection.ParseObject(t, r.Caption), (r, t) => r.Domain = Reflection.ParseObject(t, r.Domain), (r, t) => r.Flag = Reflection.ParseObject(t, r.Flag), (r, t) => r.HeaderConf = Reflection.ParseObject(t, r.HeaderConf), (r, t) => r.HelpKey = Reflection.ParseObject(t, r.HelpKey), (r, t) => r.Home = Reflection.ParseObject(t, r.Home), (r, t) => r.Host = Reflection.ParseObject(t, r.Host), (r, t) => r.HostModel = Reflection.ParseObject(t, r.HostModel), (r, t) => r.HostReConf = Reflection.ParseObject(t, r.HostReConf), (r, t) => r.ImagesConf = Reflection.ParseObject(t, r.ImagesConf), (r, t) => r.IsAuth = Reflection.ParseObject(t, r.IsAuth), (r, t) => r.IsDebug = Reflection.ParseObject(t, r.IsDebug), (r, t) => r.IsDesktop = Reflection.ParseObject(t, r.IsDesktop), (r, t) => r.IsMarket = Reflection.ParseObject(t, r.IsMarket), (r, t) => r.IsModule = Reflection.ParseObject(t, r.IsModule), (r, t) => r.LogConf = Reflection.ParseObject(t, r.LogConf), (r, t) => r.LogoutPath = Reflection.ParseObject(t, r.LogoutPath), (r, t) => r.MobileHome = Reflection.ParseObject(t, r.MobileHome), (r, t) => r.ModifyTime = Reflection.ParseObject(t, r.ModifyTime), (r, t) => r.OpenModel = Reflection.ParseObject(t, r.OpenModel), (r, t) => r.OutputCookies = Reflection.ParseObject(t, r.OutputCookies), (r, t) => r.RedirectPath = Reflection.ParseObject(t, r.RedirectPath), (r, t) => r.Root = Reflection.ParseObject(t, r.Root), (r, t) => r.SiteKey = Reflection.ParseObject(t, r.SiteKey), (r, t) => r.SLB = Reflection.ParseObject(t, r.SLB), (r, t) => r.StaticConf = Reflection.ParseObject(t, r.StaticConf), (r, t) => r.SubSite = Reflection.ParseObject(t, r.SubSite), (r, t) => r.Time = Reflection.ParseObject(t, r.Time), (r, t) => r.Timeout = Reflection.ParseObject(t, r.Timeout), (r, t) => r.Type = Reflection.ParseObject(t, r.Type), (r, t) => r.UserBrowser = Reflection.ParseObject(t, r.UserBrowser), (r, t) => r.UserModel = Reflection.ParseObject(t, r.UserModel), (r, t) => r.Version = Reflection.ParseObject(t, r.Version) };
|
|
|
|
|
readonly static string[] _Columns = new string[] { "Account", "AdminConf", "AppendJSConf", "AppSecret", "AppSecretAuth", "AuthConf", "AuthExpire", "AuthType", "Caption", "Domain", "Flag", "HeaderConf", "HelpKey", "Home", "Host", "HostModel", "HostReConf", "ImagesConf", "IsAuth", "IsDebug", "IsDesktop", "IsMarket", "IsModule", "LogConf", "LogoutPath", "MobileHome", "ModifyTime", "OpenModel", "OutputCookies", "RedirectPath", "Root", "SiteKey", "SLB", "StaticConf", "SubSite", "Time", "Timeout", "Type", "UserBrowser", "UserModel", "Version" };
|
|
|
|
|
protected override void SetValue(string name, object obv)
|
|
|
|
|
{
|
|
|
|
|
var index = Utility.Search(_Columns, name, StringComparer.CurrentCultureIgnoreCase);
|
|
|
|
@ -23,7 +23,6 @@ namespace UMC.Proxy.Entities
|
|
|
|
|
AppendValue(action, "AuthExpire", this.AuthExpire);
|
|
|
|
|
AppendValue(action, "AuthType", this.AuthType);
|
|
|
|
|
AppendValue(action, "Caption", this.Caption);
|
|
|
|
|
AppendValue(action, "Conf", this.Conf);
|
|
|
|
|
AppendValue(action, "Domain", this.Domain);
|
|
|
|
|
AppendValue(action, "Flag", this.Flag);
|
|
|
|
|
AppendValue(action, "HeaderConf", this.HeaderConf);
|
|
|
|
@ -49,6 +48,7 @@ namespace UMC.Proxy.Entities
|
|
|
|
|
AppendValue(action, "SiteKey", this.SiteKey);
|
|
|
|
|
AppendValue(action, "SLB", this.SLB);
|
|
|
|
|
AppendValue(action, "StaticConf", this.StaticConf);
|
|
|
|
|
AppendValue(action, "SubSite", this.SubSite);
|
|
|
|
|
AppendValue(action, "Time", this.Time);
|
|
|
|
|
AppendValue(action, "Timeout", this.Timeout);
|
|
|
|
|
AppendValue(action, "Type", this.Type);
|
|
|
|
@ -69,32 +69,32 @@ namespace UMC.Proxy.Entities
|
|
|
|
|
cols[6] = RecordColumn.Column("AuthExpire", this.AuthExpire);
|
|
|
|
|
cols[7] = RecordColumn.Column("AuthType", this.AuthType);
|
|
|
|
|
cols[8] = RecordColumn.Column("Caption", this.Caption);
|
|
|
|
|
cols[9] = RecordColumn.Column("Conf", this.Conf);
|
|
|
|
|
cols[10] = RecordColumn.Column("Domain", this.Domain);
|
|
|
|
|
cols[11] = RecordColumn.Column("Flag", this.Flag);
|
|
|
|
|
cols[12] = RecordColumn.Column("HeaderConf", this.HeaderConf);
|
|
|
|
|
cols[13] = RecordColumn.Column("HelpKey", this.HelpKey);
|
|
|
|
|
cols[14] = RecordColumn.Column("Home", this.Home);
|
|
|
|
|
cols[15] = RecordColumn.Column("Host", this.Host);
|
|
|
|
|
cols[16] = RecordColumn.Column("HostModel", this.HostModel);
|
|
|
|
|
cols[17] = RecordColumn.Column("HostReConf", this.HostReConf);
|
|
|
|
|
cols[18] = RecordColumn.Column("ImagesConf", this.ImagesConf);
|
|
|
|
|
cols[19] = RecordColumn.Column("IsAuth", this.IsAuth);
|
|
|
|
|
cols[20] = RecordColumn.Column("IsDebug", this.IsDebug);
|
|
|
|
|
cols[21] = RecordColumn.Column("IsDesktop", this.IsDesktop);
|
|
|
|
|
cols[22] = RecordColumn.Column("IsMarket", this.IsMarket);
|
|
|
|
|
cols[23] = RecordColumn.Column("IsModule", this.IsModule);
|
|
|
|
|
cols[24] = RecordColumn.Column("LogConf", this.LogConf);
|
|
|
|
|
cols[25] = RecordColumn.Column("LogoutPath", this.LogoutPath);
|
|
|
|
|
cols[26] = RecordColumn.Column("MobileHome", this.MobileHome);
|
|
|
|
|
cols[27] = RecordColumn.Column("ModifyTime", this.ModifyTime);
|
|
|
|
|
cols[28] = RecordColumn.Column("OpenModel", this.OpenModel);
|
|
|
|
|
cols[29] = RecordColumn.Column("OutputCookies", this.OutputCookies);
|
|
|
|
|
cols[30] = RecordColumn.Column("RedirectPath", this.RedirectPath);
|
|
|
|
|
cols[31] = RecordColumn.Column("Root", this.Root);
|
|
|
|
|
cols[32] = RecordColumn.Column("SiteKey", this.SiteKey);
|
|
|
|
|
cols[33] = RecordColumn.Column("SLB", this.SLB);
|
|
|
|
|
cols[34] = RecordColumn.Column("StaticConf", this.StaticConf);
|
|
|
|
|
cols[9] = RecordColumn.Column("Domain", this.Domain);
|
|
|
|
|
cols[10] = RecordColumn.Column("Flag", this.Flag);
|
|
|
|
|
cols[11] = RecordColumn.Column("HeaderConf", this.HeaderConf);
|
|
|
|
|
cols[12] = RecordColumn.Column("HelpKey", this.HelpKey);
|
|
|
|
|
cols[13] = RecordColumn.Column("Home", this.Home);
|
|
|
|
|
cols[14] = RecordColumn.Column("Host", this.Host);
|
|
|
|
|
cols[15] = RecordColumn.Column("HostModel", this.HostModel);
|
|
|
|
|
cols[16] = RecordColumn.Column("HostReConf", this.HostReConf);
|
|
|
|
|
cols[17] = RecordColumn.Column("ImagesConf", this.ImagesConf);
|
|
|
|
|
cols[18] = RecordColumn.Column("IsAuth", this.IsAuth);
|
|
|
|
|
cols[19] = RecordColumn.Column("IsDebug", this.IsDebug);
|
|
|
|
|
cols[20] = RecordColumn.Column("IsDesktop", this.IsDesktop);
|
|
|
|
|
cols[21] = RecordColumn.Column("IsMarket", this.IsMarket);
|
|
|
|
|
cols[22] = RecordColumn.Column("IsModule", this.IsModule);
|
|
|
|
|
cols[23] = RecordColumn.Column("LogConf", this.LogConf);
|
|
|
|
|
cols[24] = RecordColumn.Column("LogoutPath", this.LogoutPath);
|
|
|
|
|
cols[25] = RecordColumn.Column("MobileHome", this.MobileHome);
|
|
|
|
|
cols[26] = RecordColumn.Column("ModifyTime", this.ModifyTime);
|
|
|
|
|
cols[27] = RecordColumn.Column("OpenModel", this.OpenModel);
|
|
|
|
|
cols[28] = RecordColumn.Column("OutputCookies", this.OutputCookies);
|
|
|
|
|
cols[29] = RecordColumn.Column("RedirectPath", this.RedirectPath);
|
|
|
|
|
cols[30] = RecordColumn.Column("Root", this.Root);
|
|
|
|
|
cols[31] = RecordColumn.Column("SiteKey", this.SiteKey);
|
|
|
|
|
cols[32] = RecordColumn.Column("SLB", this.SLB);
|
|
|
|
|
cols[33] = RecordColumn.Column("StaticConf", this.StaticConf);
|
|
|
|
|
cols[34] = RecordColumn.Column("SubSite", this.SubSite);
|
|
|
|
|
cols[35] = RecordColumn.Column("Time", this.Time);
|
|
|
|
|
cols[36] = RecordColumn.Column("Timeout", this.Timeout);
|
|
|
|
|
cols[37] = RecordColumn.Column("Type", this.Type);
|
|
|
|
|