/// <summary> /// Create a new Reader object. /// </summary> /// <param name="rdrID">Initial value of the RdrID property.</param> /// <param name="rdrName">Initial value of the RdrName property.</param> /// <param name="rdrDutyID">Initial value of the RdrDutyID property.</param> /// <param name="ipAdd">Initial value of the IpAdd property.</param> /// <param name="ipPort">Initial value of the IpPort property.</param> /// <param name="rdrTypeID">Initial value of the RdrTypeID property.</param> /// <param name="status">Initial value of the Status property.</param> public static Reader CreateReader(global::System.Int16 rdrID, global::System.String rdrName, global::System.Byte rdrDutyID, global::System.String ipAdd, global::System.Int16 ipPort, global::System.Byte rdrTypeID, global::System.Boolean status) { Reader reader = new Reader(); reader.RdrID = rdrID; reader.RdrName = rdrName; reader.RdrDutyID = rdrDutyID; reader.IpAdd = ipAdd; reader.IpPort = ipPort; reader.RdrTypeID = rdrTypeID; reader.Status = status; return reader; }
/// <summary> /// Deprecated Method for adding a new object to the Readers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReaders(Reader reader) { base.AddObject("Readers", reader); }