/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the EmpPhotoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEmpPhotoes(EmpPhoto empPhoto) { base.AddObject("EmpPhotoes", empPhoto); }