/// <summary> /// Create a new categories object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="name">Initial value of the name property.</param> /// <param name="image">Initial value of the image property.</param> /// <param name="cat_desc">Initial value of the cat_desc property.</param> public static categories Createcategories(global::System.Int64 id, global::System.String name, global::System.String image, global::System.String cat_desc) { categories categories = new categories(); categories.id = id; categories.name = name; categories.image = image; categories.cat_desc = cat_desc; return categories; }
/// <summary> /// Deprecated Method for adding a new object to the categories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocategories(categories categories) { base.AddObject("categories", categories); }