示例#1
0
        public static Pool Convert(this T_E_Pool iEntity)
        {
            if (iEntity == null)
            {
                return(null);
            }

            return(new Pool
            {
                Cursor = iEntity.Cursor,
                PoolId = iEntity.PoolId,
            });
        }
示例#2
0
 public static void Merge(this T_E_Pool iEntity, Pool iObj)
 {
     iEntity.Cursor = iObj.Cursor;
     iEntity.PoolId = iObj.PoolId;
 }