예제 #1
0
 public Person GetPerson(Guid ID)
 {
     using (var db = new StorageContext())
         return(db.Persons.Find(ID));
 }
예제 #2
0
 public List <Person> GetPersons()
 {
     using (var db = new StorageContext())
         return(db.Persons.ToList());
 }