コード例 #1
0
ファイル: Database.Designer.cs プロジェクト: alexyomar/RMS
 /// <summary>
 /// Deprecated Method for adding a new object to the Service EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToService(Service service)
 {
     base.AddObject("Service", service);
 }
コード例 #2
0
ファイル: Database.Designer.cs プロジェクト: alexyomar/RMS
 /// <summary>
 /// Create a new Service object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="idPosada">Initial value of the IdPosada property.</param>
 public static Service CreateService(global::System.Int32 id, global::System.String name, global::System.String description, global::System.Int32 idPosada)
 {
     Service service = new Service();
     service.Id = id;
     service.Name = name;
     service.Description = description;
     service.IdPosada = idPosada;
     return service;
 }