Ejemplo n.º 1
0
 /// <summary>
 /// Create a new AssetCategory object.
 /// </summary>
 /// <param name="categoryID">Initial value of the CategoryID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static AssetCategory CreateAssetCategory(global::System.Int32 categoryID, global::System.String name)
 {
     AssetCategory assetCategory = new AssetCategory();
     assetCategory.CategoryID = categoryID;
     assetCategory.Name = name;
     return assetCategory;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AssetCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAssetCategories(AssetCategory assetCategory)
 {
     base.AddObject("AssetCategories", assetCategory);
 }