示例#1
0
        public bool Delete(EntityHandler.Bank obj)
        {
            bool Status = false;

            try
            {
                string SqlCommand = "";

                Status = new DALBase().Update(SqlCommand);
            }
            catch (Exception ex)
            { }
            return(Status);
        }
示例#2
0
        public DataTable SelectAll(EntityHandler.Bank objBank)
        {
            DataTable dt = new DataTable();

            try
            {
                SqlCommand oSqlCommand = new SqlCommand();
                string     SqlQuery    = "WCF_SelectBankAccALL";

                oSqlCommand.CommandText = SqlQuery;
                oSqlCommand.Parameters.AddWithValue("@code", objBank.Code);

                dt           = new DALBase().SelectSPFinance(oSqlCommand);
                dt.TableName = "tblBankAccount";
            }
            catch (Exception ex)
            { }
            return(dt);
        }