Exemplo n.º 1
0
        public int Insert(YF_AssetDrawModel ObjModel, SqlTransaction Transaction)
        {
            YF_AssetDrawDAL wdal = new YF_AssetDrawDAL(Transaction);

            return(wdal.Insert(ObjModel));
        }
Exemplo n.º 2
0
        public List <YF_AssetDrawModel> GetModels(SqlTransaction Transaction)
        {
            YF_AssetDrawDAL wdal = new YF_AssetDrawDAL(Transaction);

            return(wdal.Select());
        }
Exemplo n.º 3
0
        public List <YF_AssetDrawModel> GetModels(YF_AssetDrawQueryModel ObjQueryModel, SqlTransaction Transaction)
        {
            YF_AssetDrawDAL wdal = new YF_AssetDrawDAL(Transaction);

            return(wdal.Select(ObjQueryModel));
        }
Exemplo n.º 4
0
        public List <YF_AssetDrawModel> GetModels(SqlConnection Connection)
        {
            YF_AssetDrawDAL wdal = new YF_AssetDrawDAL(Connection);

            return(wdal.Select());
        }
Exemplo n.º 5
0
        public YF_AssetDrawModel GetModel(int Code, SqlTransaction Transaction)
        {
            YF_AssetDrawDAL wdal = new YF_AssetDrawDAL(Transaction);

            return(wdal.GetModel(Code));
        }
Exemplo n.º 6
0
        public YF_AssetDrawModel GetModel(int Code, SqlConnection Connection)
        {
            YF_AssetDrawDAL wdal = new YF_AssetDrawDAL(Connection);

            return(wdal.GetModel(Code));
        }
Exemplo n.º 7
0
        public int Update(YF_AssetDrawModel ObjModel, SqlTransaction Transaction)
        {
            YF_AssetDrawDAL wdal = new YF_AssetDrawDAL(Transaction);

            return(wdal.Update(ObjModel));
        }
Exemplo n.º 8
0
        public int Delete(int Code, SqlTransaction Transaction)
        {
            YF_AssetDrawDAL wdal = new YF_AssetDrawDAL(Transaction);

            return(wdal.Delete(Code));
        }