public static void Db2O(EFData.ControlSpace dbObj, ControlSpace obj) { obj.Id = dbObj.Id; obj.Name = dbObj.Name; obj.IsActive = dbObj.IsActive; obj.Prefix = dbObj.Prefix; }
/****************************************************************/ #region ControlSpace public static void O2Db(ControlSpace obj, EFData.ControlSpace dbObj) { //dbObj.Id = obj.Id; dbObj.Name = obj.Name; dbObj.IsActive = obj.IsActive; }