示例#1
0
 /// <summary>
 /// Create a new vw_SubCategory object.
 /// </summary>
 /// <param name="subCategoryID">Initial value of the SubCategoryID property.</param>
 /// <param name="categoryID">Initial value of the CategoryID property.</param>
 /// <param name="subCategory">Initial value of the SubCategory property.</param>
 /// <param name="sortOrder">Initial value of the SortOrder property.</param>
 /// <param name="createdByID">Initial value of the CreatedByID property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="modifiedByID">Initial value of the ModifiedByID property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 /// <param name="activeFlag">Initial value of the ActiveFlag property.</param>
 /// <param name="deleteFlag">Initial value of the DeleteFlag property.</param>
 public static vw_SubCategory Createvw_SubCategory(global::System.Int32 subCategoryID, global::System.Int32 categoryID, global::System.String subCategory, global::System.Int32 sortOrder, global::System.Int32 createdByID, global::System.DateTime createDate, global::System.Int32 modifiedByID, global::System.DateTime modifiedDate, global::System.Int32 activeFlag, global::System.Int32 deleteFlag)
 {
     vw_SubCategory vw_SubCategory = new vw_SubCategory();
     vw_SubCategory.SubCategoryID = subCategoryID;
     vw_SubCategory.CategoryID = categoryID;
     vw_SubCategory.SubCategory = subCategory;
     vw_SubCategory.SortOrder = sortOrder;
     vw_SubCategory.CreatedByID = createdByID;
     vw_SubCategory.CreateDate = createDate;
     vw_SubCategory.ModifiedByID = modifiedByID;
     vw_SubCategory.ModifiedDate = modifiedDate;
     vw_SubCategory.ActiveFlag = activeFlag;
     vw_SubCategory.DeleteFlag = deleteFlag;
     return vw_SubCategory;
 }
示例#2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the vw_SubCategory EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovw_SubCategory(vw_SubCategory vw_SubCategory)
 {
     base.AddObject("vw_SubCategory", vw_SubCategory);
 }