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