コード例 #1
0
 /// <summary>
 /// Create a new HR_CMP_Stations object.
 /// </summary>
 /// <param name="stationID">Initial value of the StationID property.</param>
 /// <param name="companyID">Initial value of the CompanyID property.</param>
 /// <param name="stationName">Initial value of the StationName property.</param>
 /// <param name="stationTypeID">Initial value of the StationTypeID property.</param>
 /// <param name="location">Initial value of the Location property.</param>
 public static HR_CMP_Stations CreateHR_CMP_Stations(global::System.Int32 stationID, global::System.String companyID, global::System.String stationName, global::System.String stationTypeID, global::System.String location)
 {
     HR_CMP_Stations hR_CMP_Stations = new HR_CMP_Stations();
     hR_CMP_Stations.StationID = stationID;
     hR_CMP_Stations.CompanyID = companyID;
     hR_CMP_Stations.StationName = stationName;
     hR_CMP_Stations.StationTypeID = stationTypeID;
     hR_CMP_Stations.Location = location;
     return hR_CMP_Stations;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HR_CMP_Stations EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHR_CMP_Stations(HR_CMP_Stations hR_CMP_Stations)
 {
     base.AddObject("HR_CMP_Stations", hR_CMP_Stations);
 }