예제 #1
0
 //
 // Insert a Regist
 //
 public int InsertRegist(Regist val)
 {
     try
     {
         using (var c = new Connect())
         {
             c.BeginTrx();
             var registMapper = new RegistDataMapper(c.GetConnection());
             registMapper.SetTransaction(c.Transaction);
             int result = registMapper.Insert(val);
             c.Commit();
             return result;
         }
     }
     catch (Exception exception)
     {
         throw new FaultException<ServerError>(new ServerError());
     }
 }
예제 #2
0
 public Participant()
 {
     Person = new Person();
     Regist = new Regist();
     // TODO: Complete member initialization
 }
예제 #3
0
 public Participant()
 {
     Person = new Person();
     Regist = new Regist();
     // TODO: Complete member initialization
 }
예제 #4
0
 public Participant(int id, Person person, Regist regist)
 {
     Person = person;
     Id     = id;
     Regist = regist;
 }
예제 #5
0
 public Participant(int id, Person person, Regist regist)
 {
     Person = person;
     Id = id;
     Regist = regist;
 }