コード例 #1
0
ファイル: Lecon.Web.g.cs プロジェクト: Ratatui/Lecon
 private bool FilterPSU(PSU entity)
 {
     return (entity.Id == this.PSUId);
 }
コード例 #2
0
ファイル: Lecon.Web.g.cs プロジェクト: Ratatui/Lecon
 private void DetachPSUs(PSU entity)
 {
     entity.PowerType = null;
 }
コード例 #3
0
ファイル: Lecon.Web.g.cs プロジェクト: Ratatui/Lecon
 private bool FilterPSUs(PSU entity)
 {
     return (entity.PowerTypeId == this.Id);
 }
コード例 #4
0
ファイル: Lecon.Web.g.cs プロジェクト: Ratatui/Lecon
 private bool FilterPSUs(PSU entity)
 {
     return (entity.FormFactorId == this.Id);
 }
コード例 #5
0
ファイル: Lecon.Web.g.cs プロジェクト: Ratatui/Lecon
 private void AttachPSUs(PSU entity)
 {
     entity.PowerType = this;
 }
コード例 #6
0
ファイル: Lecon.Web.g.cs プロジェクト: Ratatui/Lecon
 private void AttachPSUs(PSU entity)
 {
     entity.FormFactor = this;
 }
コード例 #7
0
ファイル: Lecon.Web.g.cs プロジェクト: Ratatui/Lecon
 private void DetachPSUs(PSU entity)
 {
     entity.FormFactor = null;
 }
コード例 #8
0
ファイル: Lecon.Web.g.cs プロジェクト: Ratatui/Lecon
 private bool FilterPSUs(PSU entity)
 {
     return (entity.DeviceId == this.Id);
 }
コード例 #9
0
ファイル: Lecon.Web.g.cs プロジェクト: Ratatui/Lecon
 private void DetachPSUs(PSU entity)
 {
     entity.Device = null;
 }
コード例 #10
0
ファイル: Lecon.Web.g.cs プロジェクト: Ratatui/Lecon
 private void AttachPSUs(PSU entity)
 {
     entity.Device = this;
 }
コード例 #11
0
ファイル: LeconModel.Designer.cs プロジェクト: Ratatui/Lecon
 /// <summary>
 /// Create a new PSU object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="sATA">Initial value of the SATA property.</param>
 /// <param name="iDE">Initial value of the IDE property.</param>
 /// <param name="powerTypeId">Initial value of the PowerTypeId property.</param>
 /// <param name="formFactorId">Initial value of the FormFactorId property.</param>
 /// <param name="deviceId">Initial value of the DeviceId property.</param>
 public static PSU CreatePSU(global::System.Int32 id, global::System.Int16 sATA, global::System.Int16 iDE, global::System.Int32 powerTypeId, global::System.Int32 formFactorId, global::System.Int32 deviceId)
 {
     PSU pSU = new PSU();
     pSU.Id = id;
     pSU.SATA = sATA;
     pSU.IDE = iDE;
     pSU.PowerTypeId = powerTypeId;
     pSU.FormFactorId = formFactorId;
     pSU.DeviceId = deviceId;
     return pSU;
 }
コード例 #12
0
ファイル: LeconModel.Designer.cs プロジェクト: Ratatui/Lecon
 /// <summary>
 /// Deprecated Method for adding a new object to the PSUs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPSUs(PSU pSU)
 {
     base.AddObject("PSUs", pSU);
 }