private bool FilterBody(Body entity) { return (entity.Id == this.BodyId); }
private void DetachBodys(Body entity) { entity.FormFactor = null; }
private bool FilterBodys(Body entity) { return (entity.FormFactorId == this.Id); }
private bool FilterBodys(Body entity) { return (entity.DeviceId == this.Id); }
private void AttachBodys(Body entity) { entity.FormFactor = this; }
private void AttachBodys(Body entity) { entity.Device = this; }
private void DetachBodys(Body entity) { entity.Device = null; }
private bool FilterBodys(Body entity) { return (entity.CoolerId == this.Id); }
private void DetachBodys(Body entity) { entity.Cooler = null; }
private void AttachBodys(Body entity) { entity.Cooler = this; }
/// <summary> /// Deprecated Method for adding a new object to the Bodys EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBodys(Body body) { base.AddObject("Bodys", body); }
/// <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; }