public static Pool Convert(this T_E_Pool iEntity) { if (iEntity == null) { return(null); } return(new Pool { Cursor = iEntity.Cursor, PoolId = iEntity.PoolId, }); }
public static void Merge(this T_E_Pool iEntity, Pool iObj) { iEntity.Cursor = iObj.Cursor; iEntity.PoolId = iObj.PoolId; }