コード例 #1
0
ファイル: LeconModel.Designer.cs プロジェクト: Ratatui/Lecon
 /// <summary>
 /// Deprecated Method for adding a new object to the GraphicChips EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToGraphicChips(GraphicChip graphicChip)
 {
     base.AddObject("GraphicChips", graphicChip);
 }
コード例 #2
0
ファイル: Lecon.Web.g.cs プロジェクト: Ratatui/Lecon
 private bool FilterGraphicChip(GraphicChip entity)
 {
     return (entity.Id == this.GraphicChipId);
 }
コード例 #3
0
ファイル: LeconModel.Designer.cs プロジェクト: Ratatui/Lecon
 /// <summary>
 /// Create a new GraphicChip object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="frequency">Initial value of the Frequency property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="сapacity">Initial value of the Сapacity property.</param>
 public static GraphicChip CreateGraphicChip(global::System.Int32 id, global::System.Double frequency, global::System.String name, global::System.Int16 сapacity)
 {
     GraphicChip graphicChip = new GraphicChip();
     graphicChip.Id = id;
     graphicChip.Frequency = frequency;
     graphicChip.Name = name;
     graphicChip.Сapacity = сapacity;
     return graphicChip;
 }