常用方法
常用方法
常用方法
常用方法
public bool AddArea(Area model, ref ReturnModel result) { using (var connection = new SqlConnection(BaseDAL.ConnectionStringSqlServer)) { connection.Open(); using (var transaction = connection.BeginTransaction()) { _categoryDAL.AddArea(model, connection, transaction); transaction.Commit(); } return(true); } }