コード例 #1
0
 /// <summary>
 /// Create a new EmpPhoto object.
 /// </summary>
 /// <param name="photoID">Initial value of the PhotoID property.</param>
 public static EmpPhoto CreateEmpPhoto(global::System.Int32 photoID)
 {
     EmpPhoto empPhoto = new EmpPhoto();
     empPhoto.PhotoID = photoID;
     return empPhoto;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EmpPhotoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEmpPhotoes(EmpPhoto empPhoto)
 {
     base.AddObject("EmpPhotoes", empPhoto);
 }