/// <summary> /// Deprecated Method for adding a new object to the instrument_type EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToinstrument_type(instrument_type instrument_type) { base.AddObject("instrument_type", instrument_type); }
/// <summary> /// Create a new instrument_type object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="currencyID">Initial value of the CurrencyID property.</param> /// <param name="exchangeID">Initial value of the ExchangeID property.</param> /// <param name="code">Initial value of the Code property.</param> /// <param name="securityType">Initial value of the SecurityType property.</param> /// <param name="lastModified">Initial value of the LastModified property.</param> /// <param name="tickSize">Initial value of the TickSize property.</param> /// <param name="tickValue">Initial value of the TickValue property.</param> /// <param name="decimalPlace">Initial value of the DecimalPlace property.</param> public static instrument_type Createinstrument_type(global::System.Int64 id, global::System.Int64 currencyID, global::System.Int64 exchangeID, global::System.String code, global::System.String securityType, global::System.DateTime lastModified, global::System.Double tickSize, global::System.Double tickValue, global::System.Int64 decimalPlace) { instrument_type instrument_type = new instrument_type(); instrument_type.ID = id; instrument_type.CurrencyID = currencyID; instrument_type.ExchangeID = exchangeID; instrument_type.Code = code; instrument_type.SecurityType = securityType; instrument_type.LastModified = lastModified; instrument_type.TickSize = tickSize; instrument_type.TickValue = tickValue; instrument_type.DecimalPlace = decimalPlace; return instrument_type; }