Example #1
0
 private bool FilterBody(Body entity)
 {
     return (entity.Id == this.BodyId);
 }
Example #2
0
 private void DetachBodys(Body entity)
 {
     entity.FormFactor = null;
 }
Example #3
0
 private bool FilterBodys(Body entity)
 {
     return (entity.FormFactorId == this.Id);
 }
Example #4
0
 private bool FilterBodys(Body entity)
 {
     return (entity.DeviceId == this.Id);
 }
Example #5
0
 private void AttachBodys(Body entity)
 {
     entity.FormFactor = this;
 }
Example #6
0
 private void AttachBodys(Body entity)
 {
     entity.Device = this;
 }
Example #7
0
 private void DetachBodys(Body entity)
 {
     entity.Device = null;
 }
Example #8
0
 private bool FilterBodys(Body entity)
 {
     return (entity.CoolerId == this.Id);
 }
Example #9
0
 private void DetachBodys(Body entity)
 {
     entity.Cooler = null;
 }
Example #10
0
 private void AttachBodys(Body entity)
 {
     entity.Cooler = this;
 }
Example #11
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Bodys EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBodys(Body body)
 {
     base.AddObject("Bodys", body);
 }
Example #12
0
 /// <summary>
 /// Create a new Body object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="formFactorId">Initial value of the FormFactorId property.</param>
 /// <param name="deviceId">Initial value of the DeviceId property.</param>
 public static Body CreateBody(global::System.Int32 id, global::System.Int32 formFactorId, global::System.Int32 deviceId)
 {
     Body body = new Body();
     body.Id = id;
     body.FormFactorId = formFactorId;
     body.DeviceId = deviceId;
     return body;
 }