コード例 #1
0
 /// <summary>
 /// Create a new ClientEntity object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="placeId">Initial value of the PlaceId property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static ClientEntity CreateClientEntity(global::System.Int32 id, global::System.String name, global::System.Int32 placeId, global::System.Boolean isActive)
 {
     ClientEntity clientEntity = new ClientEntity();
     clientEntity.Id = id;
     clientEntity.Name = name;
     clientEntity.PlaceId = placeId;
     clientEntity.IsActive = isActive;
     return clientEntity;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Clients EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToClients(ClientEntity clientEntity)
 {
     base.AddObject("Clients", clientEntity);
 }