示例#1
0
 /// <summary>
 /// Create a new CategoryType object.
 /// </summary>
 /// <param name="categoryTypeID">Initial value of the CategoryTypeID property.</param>
 /// <param name="categoryType1">Initial value of the CategoryType1 property.</param>
 public static CategoryType CreateCategoryType(global::System.Int32 categoryTypeID, global::System.String categoryType1)
 {
     CategoryType categoryType = new CategoryType();
     categoryType.CategoryTypeID = categoryTypeID;
     categoryType.CategoryType1 = categoryType1;
     return categoryType;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CategoryType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCategoryType(CategoryType categoryType)
 {
     base.AddObject("CategoryType", categoryType);
 }