示例#1
0
文件: Botop.cs 项目: Merbo/CSharpBot
        public void AddBotOp(string nickname, int level=5)
        {
            Nicks newnick = new Nicks();
            newnick.AccessLevel = level;
            newnick.Nick = nickname;

            conn.Nicks.InsertOnSubmit(newnick);
            conn.SubmitChanges();
        }
示例#2
0
 partial void UpdateNicks(Nicks instance);
示例#3
0
 partial void DeleteNicks(Nicks instance);
示例#4
0
 partial void InsertNicks(Nicks instance);