コード例 #1
0
 public int Add(Source source)
 {
     return base.ExecuteNonQuery(string.Format("EXEC SOURCE_ADD '{0}'", source.Name));
 }
コード例 #2
0
 public int Update(Source source)
 {
     return base.ExecuteNonQuery(string.Format("EXEC SOURCE_UPDATE {0},'{1}'",source.ID, source.Name));
 }
コード例 #3
0
 public int Register(int id, string firstName, string lastName, string password, Address address, UserType userType, Source source, string createdBy, string createdOn, string voided, string voidedBy, string voidedOn, string reasonVoided, string Email, int CNIC, string Gender, Sect sect, GPSLOC gpsloc)
 {
     return new UserData().Register(new User() { ID = id, FirstName = firstName, LastName = lastName, Password = password, Address = address, UserType = userType, Source = source, CreatedBy = createdBy, CreatedOn = createdOn,  VoidedBy = voidedBy, VoidedOn = voidedOn, ReasonVoided = reasonVoided, Email = Email, CNIC = CNIC, Gender = Gender, Sect = sect, GPSLOC = gpsloc });
 }