/// <summary> /// Deprecated Method for adding a new object to the types EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotypes(type type) { base.AddObject("types", type); }
/// <summary> /// Create a new type object. /// </summary> /// <param name="type_id">Initial value of the type_id property.</param> /// <param name="type_name">Initial value of the type_name property.</param> /// <param name="type_description">Initial value of the type_description property.</param> public static type Createtype(global::System.Int32 type_id, global::System.String type_name, global::System.String type_description) { type type = new type(); type.type_id = type_id; type.type_name = type_name; type.type_description = type_description; return type; }