Beispiel #1
0
        /****************************************************************/

        #region Scene

        public static void Db2O(EFData.Scene dbObj, Scene obj)
        {
            obj.Id   = dbObj.Id;
            obj.Name = dbObj.Name;

            obj.Remark = dbObj.Remark;
            //if (dbObj.Parent != null)
            //{
            //    obj.Parent = new Scene();
            //}
            obj.Partition = new Partition();
            Db2O(dbObj.Partition, obj.Partition);
        }
Beispiel #2
0
 public static void O2Db(Scene obj, EFData.Scene dbObj)
 {
     dbObj.Name   = obj.Name;
     dbObj.Remark = obj.Remark;
 }