コード例 #1
0
 public static Person?Patient(this Patient obj, IDataContext db)
 {
     return(db.GetTable <Person>().Where(c => c.PersonID == obj.PersonID).FirstOrDefault());
 }
コード例 #2
0
 public static IQueryable <Person> People0(this Patient obj, IDataContext db)
 {
     return(db.GetTable <Person>().Where(c => c.PersonID == obj.PersonID));
 }