/// <summary> /// Deprecated Method for adding a new object to the instrument EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToinstrument(instrument instrument) { base.AddObject("instrument", instrument); }
/// <summary> /// Create a new instrument object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="code">Initial value of the Code property.</param> /// <param name="typeID">Initial value of the TypeID property.</param> /// <param name="exchangeID">Initial value of the ExchangeID property.</param> /// <param name="decimalPlace">Initial value of the DecimalPlace property.</param> /// <param name="maturityDate">Initial value of the MaturityDate property.</param> /// <param name="lastModified">Initial value of the LastModified property.</param> /// <param name="dateCreated">Initial value of the dateCreated property.</param> public static instrument Createinstrument(global::System.Int64 id, global::System.String code, global::System.Int64 typeID, global::System.Int64 exchangeID, global::System.Int64 decimalPlace, global::System.String maturityDate, global::System.DateTime lastModified, global::System.DateTime dateCreated) { instrument instrument = new instrument(); instrument.ID = id; instrument.Code = code; instrument.TypeID = typeID; instrument.ExchangeID = exchangeID; instrument.DecimalPlace = decimalPlace; instrument.MaturityDate = maturityDate; instrument.LastModified = lastModified; instrument.dateCreated = dateCreated; return instrument; }