Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ContractTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToContractTypes(ContractTypes contractTypes)
 {
     base.AddObject("ContractTypes", contractTypes);
 }
Example #2
0
 /// <summary>
 /// Create a new ContractTypes object.
 /// </summary>
 /// <param name="contractTypeID">Initial value of the ContractTypeID property.</param>
 /// <param name="addDate">Initial value of the AddDate property.</param>
 /// <param name="rowVersion">Initial value of the RowVersion property.</param>
 public static ContractTypes CreateContractTypes(global::System.Int32 contractTypeID, global::System.DateTime addDate, global::System.Byte[] rowVersion)
 {
     ContractTypes contractTypes = new ContractTypes();
     contractTypes.ContractTypeID = contractTypeID;
     contractTypes.AddDate = addDate;
     contractTypes.RowVersion = rowVersion;
     return contractTypes;
 }