Beispiel #1
0
        public static int Update(ServerGroup group)
        {
            string sql = "Update MSCS_Server_Group Set Name = @Name Where Id = @Id";

            return(SqlServerHelper.Execute(sql, group));
        }
Beispiel #2
0
        public static int Insert(ServerGroup group)
        {
            string sql = "INSERT INTO MSCS_Server_Group(Name) Values(@Name)";

            return(SqlServerHelper.Execute(sql, group));
        }