2011-01-06 99 views

回答

0

嘗試是這樣的:

List<PatientProfile> profiles = new List<PatientProfile>(); 

    var result = 
     from pp in profiles 
     where pp.Name.FamilyName.StartsWith("firefly") 
     select new 
        { 
         Patient = pp.Patient, 
         PatientProfile = pp, 
         Mrn = pp.Mrn, 
         Name = pp.Name 
        }; 

我們不知道很多關於你的類,所以如果你正在尋找沒有什麼,請發表您的耐心和PatientProfile性能。

+0

太棒了,安東尼奧。謝謝! – Jacko 2011-01-06 12:26:27