Exemplo n.º 1
0
 /// <summary>
 /// Create a new BusinessEntity object.
 /// </summary>
 /// <param name="businessEntityID">Initial value of the BusinessEntityID property.</param>
 /// <param name="rowguid">Initial value of the rowguid property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 public static BusinessEntity CreateBusinessEntity(global::System.Int32 businessEntityID, global::System.Guid rowguid, global::System.DateTime modifiedDate)
 {
     BusinessEntity businessEntity = new BusinessEntity();
     businessEntity.BusinessEntityID = businessEntityID;
     businessEntity.rowguid = rowguid;
     businessEntity.ModifiedDate = modifiedDate;
     return businessEntity;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the BusinessEntities EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBusinessEntities(BusinessEntity businessEntity)
 {
     base.AddObject("BusinessEntities", businessEntity);
 }