コード例 #1
0
 /// <summary>
 /// Create a new HR_CompanyAssets object.
 /// </summary>
 /// <param name="assetID">Initial value of the AssetID property.</param>
 /// <param name="propertyTypeID">Initial value of the PropertyTypeID property.</param>
 /// <param name="modelNumber">Initial value of the ModelNumber property.</param>
 public static HR_CompanyAssets CreateHR_CompanyAssets(global::System.Int32 assetID, global::System.Int32 propertyTypeID, global::System.String modelNumber)
 {
     HR_CompanyAssets hR_CompanyAssets = new HR_CompanyAssets();
     hR_CompanyAssets.AssetID = assetID;
     hR_CompanyAssets.PropertyTypeID = propertyTypeID;
     hR_CompanyAssets.ModelNumber = modelNumber;
     return hR_CompanyAssets;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the HR_CompanyAssets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToHR_CompanyAssets(HR_CompanyAssets hR_CompanyAssets)
 {
     base.AddObject("HR_CompanyAssets", hR_CompanyAssets);
 }