/****************************************************************/ #region EventChannel public static void O2Db(EventChannel obj, EFData.EventChannel dbObj) { dbObj.Name = obj.Name; dbObj.ChannelNo = obj.ChannelNo; dbObj.EventName = obj.EventName; dbObj.Profile = obj.Profile; }
public static void Db2O(EFData.EventChannel dbObj, EventChannel obj) { obj.Id = dbObj.Id; obj.Name = dbObj.Name; obj.ChannelNo = dbObj.ChannelNo; obj.EventName = dbObj.EventName; obj.Profile = dbObj.Profile; }