コード例 #1
0
        public void Insert(string Username, string Password, string Active)
        {
            PhpssAccount item = new PhpssAccount();

            item.Username = Username;

            item.Password = Password;

            item.Active = Active;


            item.Save(UserName);
        }
コード例 #2
0
        public void Update(int Id, string Username, string Password, string Active)
        {
            PhpssAccount item = new PhpssAccount();

            item.MarkOld();
            item.IsLoaded = true;

            item.Id = Id;

            item.Username = Username;

            item.Password = Password;

            item.Active = Active;

            item.Save(UserName);
        }
コード例 #3
0
 public bool Destroy(object Id)
 {
     return(PhpssAccount.Destroy(Id) == 1);
 }
コード例 #4
0
 public bool Delete(object Id)
 {
     return(PhpssAccount.Delete(Id) == 1);
 }