/// <summary> /// Create a new UnitLoc object. /// </summary> /// <param name="unitID">Initial value of the UnitID property.</param> /// <param name="languageID">Initial value of the LanguageID property.</param> /// <param name="symbol">Initial value of the Symbol property.</param> /// <param name="singularName">Initial value of the SingularName property.</param> /// <param name="pluralName">Initial value of the PluralName property.</param> public static UnitLoc CreateUnitLoc(global::System.String unitID, global::System.String languageID, global::System.String symbol, global::System.String singularName, global::System.String pluralName) { UnitLoc unitLoc = new UnitLoc(); unitLoc.UnitID = unitID; unitLoc.LanguageID = languageID; unitLoc.Symbol = symbol; unitLoc.SingularName = singularName; unitLoc.PluralName = pluralName; return unitLoc; }
/// <summary> /// Deprecated Method for adding a new object to the UnitLocs EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUnitLocs(UnitLoc unitLoc) { base.AddObject("UnitLocs", unitLoc); }