/// <summary> /// Deprecated Method for adding a new object to the usagetypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTousagetypes(usagetype usagetype) { base.AddObject("usagetypes", usagetype); }
/// <summary> /// Create a new usagetype object. /// </summary> /// <param name="usage_id">Initial value of the usage_id property.</param> /// <param name="usagestr">Initial value of the usagestr property.</param> public static usagetype Createusagetype(global::System.Int32 usage_id, global::System.String usagestr) { usagetype usagetype = new usagetype(); usagetype.usage_id = usage_id; usagetype.usagestr = usagestr; return usagetype; }