示例#1
0
 public void PersonelEkle()
 {
     SPA_PersonelJobDetail personelDetail = new SPA_PersonelJobDetail();
     personelDetail.ID = Guid.NewGuid();
     personelDetail.PersonelID = new Guid(PersonelList.PersonelID);
     personelDetail.Adi = PersonelList.PersonelAdi;
     personelDetail.TherapyID = Guid.Parse(serviceID);
     personelDetail.PersonelPhoto = PersonelList.PersonelPhoto;
     context.SPA_PersonelJobDetails.Add(personelDetail);
     context.SubmitChanges().Completed += CustMeterPage_Completed;
 }
 /// <summary>
 /// Create a new SPA_PersonelJobDetail object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="personelID">Initial value of the PersonelID property.</param>
 /// <param name="adi">Initial value of the Adi property.</param>
 public static SPA_PersonelJobDetail CreateSPA_PersonelJobDetail(global::System.Guid id, global::System.Guid personelID, global::System.String adi)
 {
     SPA_PersonelJobDetail sPA_PersonelJobDetail = new SPA_PersonelJobDetail();
     sPA_PersonelJobDetail.ID = id;
     sPA_PersonelJobDetail.PersonelID = personelID;
     sPA_PersonelJobDetail.Adi = adi;
     return sPA_PersonelJobDetail;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the SPA_PersonelJobDetail EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSPA_PersonelJobDetail(SPA_PersonelJobDetail sPA_PersonelJobDetail)
 {
     base.AddObject("SPA_PersonelJobDetail", sPA_PersonelJobDetail);
 }