コード例 #1
0
        public static int DeleteByWhere(EDatabase db, IQueryTable table, WhereClip where, bool withTran)
        {
            DeleteSqlSection delSection = db.Delete(table).Where(where);

            return(withTran ? delSection.ExecuteWithTran() : delSection.Execute());
        }