예제 #1
0
        public virtual BizEntity Clone()
        {
            BizEntity obj = (BizEntity)TypeAccessor.CreateInstanceEx(GetType());

            CopyTo(obj);
            obj.AcceptChanges();

            return(obj);
        }
예제 #2
0
        public virtual BizEntity CopyTo(BizEntity obj)
        {
            Map.ObjectToObject(this, obj);

            return(obj);
        }
예제 #3
0
		public virtual BizEntity CopyTo(BizEntity obj)
		{
			Map.ObjectToObject(this, obj);

			return obj;
		}