static bool Push( this evolib.Databases.common1.OpsNotice rec, CommonDesc common ) { var edited = !Equals(rec.beginDate, common.beginDate) || !Equals(rec.endDate, common.endDate) || (rec.enabledEnglish != common.enabledEnglish) || (rec.enabledFrench != common.enabledFrench) || (rec.enabledGerman != common.enabledGerman) || (rec.enabledJapanese != common.enabledJapanese) || (rec.enabledEnglish && rec.msgEnglish != common.msgEnglish) || (rec.enabledFrench && rec.msgFrench != common.msgFrench) || (rec.enabledGerman && rec.msgGerman != common.msgGerman) || (rec.enabledJapanese && rec.msgJapanese != common.msgJapanese); rec.release = common.release.Value; rec.target = common.target.Value; rec.memo = common.memo; rec.beginDate = common.beginDate.Value; rec.endDate = common.endDate.Value; rec.enabledEnglish = common.enabledEnglish; rec.msgEnglish = common.msgEnglish; rec.enabledFrench = common.enabledFrench; rec.msgFrench = common.msgFrench; rec.enabledGerman = common.enabledGerman; rec.msgGerman = common.msgGerman; rec.enabledJapanese = common.enabledJapanese; rec.msgJapanese = common.msgJapanese; return(edited); }
static void Pop( this evolib.Databases.common1.OpsNotice rec, CommonDesc common ) { common.release = rec.release; common.target = rec.target; common.memo = rec.memo; common.beginDate = rec.beginDate; common.endDate = rec.endDate; common.enabledEnglish = rec.enabledEnglish; common.msgEnglish = rec.msgEnglish; common.enabledFrench = rec.enabledFrench; common.msgFrench = rec.msgFrench; common.enabledGerman = rec.enabledGerman; common.msgGerman = rec.msgGerman; common.enabledJapanese = rec.enabledJapanese; common.msgJapanese = rec.msgJapanese; }