Esempio n. 1
0
 /// <summary>
 /// Create a new Protocol object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="comments">Initial value of the Comments property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="regionId">Initial value of the RegionId property.</param>
 public static Protocol CreateProtocol(global::System.Int32 id, global::System.String comments, global::System.String name, global::System.Int32 regionId)
 {
     Protocol protocol = new Protocol();
     protocol.Id = id;
     protocol.Comments = comments;
     protocol.Name = name;
     protocol.RegionId = regionId;
     return protocol;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Protocols EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 internal void AddToProtocols(Protocol protocol)
 {
     base.AddObject("Protocols", protocol);
 }