示例#1
0
 void ICustodiansRepository.CreateCustodian(Custodian custodian)
 {
     using (var dc = CreateContext())
     {
         dc.CommunityAdministratorEntities.InsertOnSubmit(custodian.Map());
         dc.SubmitChanges();
     }
 }