示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RequestTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRequestTypes(RequestTypes requestTypes)
 {
     base.AddObject("RequestTypes", requestTypes);
 }
示例#2
0
 /// <summary>
 /// Create a new RequestTypes object.
 /// </summary>
 /// <param name="requestTypeID">Initial value of the RequestTypeID property.</param>
 /// <param name="requestTypeName">Initial value of the RequestTypeName property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static RequestTypes CreateRequestTypes(global::System.Int32 requestTypeID, global::System.String requestTypeName, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     RequestTypes requestTypes = new RequestTypes();
     requestTypes.RequestTypeID = requestTypeID;
     requestTypes.RequestTypeName = requestTypeName;
     requestTypes.AddDate = addDate;
     requestTypes.RowVersion = rowVersion;
     return requestTypes;
 }