Exemplo n.º 1
0
 private void DetachMotherboard(Motherboard entity)
 {
     entity.MemoryType = null;
 }
Exemplo n.º 2
0
 private void DetachMotherboards(Motherboard entity)
 {
     entity.GPU = null;
 }
Exemplo n.º 3
0
 private void AttachMotherboard(Motherboard entity)
 {
     entity.MemoryType = this;
 }
Exemplo n.º 4
0
 private bool FilterMotherboards(Motherboard entity)
 {
     return (entity.SocketId == this.Id);
 }
Exemplo n.º 5
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Motherboards EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToMotherboards(Motherboard motherboard)
 {
     base.AddObject("Motherboards", motherboard);
 }
Exemplo n.º 6
0
 private void DetachMotherboards(Motherboard entity)
 {
     entity.PowerType = null;
 }
Exemplo n.º 7
0
 private void AttachMotherboards(Motherboard entity)
 {
     entity.Socket = this;
 }
Exemplo n.º 8
0
 private void DetachMotherboards(Motherboard entity)
 {
     entity.Device = null;
 }
Exemplo n.º 9
0
 private bool FilterMotherboards(Motherboard entity)
 {
     return (entity.DeviceId == this.Id);
 }
Exemplo n.º 10
0
 private bool FilterMotherboard(Motherboard entity)
 {
     return (entity.ChipsetId == this.Id);
 }
Exemplo n.º 11
0
 private void AttachMotherboards(Motherboard entity)
 {
     entity.Device = this;
 }
Exemplo n.º 12
0
 private void DetachMotherboard(Motherboard entity)
 {
     entity.Chipset = null;
 }
Exemplo n.º 13
0
 private void AttachMotherboard(Motherboard entity)
 {
     entity.Chipset = this;
 }
Exemplo n.º 14
0
        protected override void OnAddCommand()
        {
            var newMotherboard = new Motherboard();
            var newDevice = new Device();
            newMotherboard.Device = newDevice;

            this.Context.Motherboards.Add(newMotherboard);
            this.MotherboardsView.MoveCurrentTo(newMotherboard);
        }
Exemplo n.º 15
0
 private bool FilterMotherboard(Motherboard entity)
 {
     return (entity.MemoryTypeId == this.Id);
 }
Exemplo n.º 16
0
 private void AttachMotherboards(Motherboard entity)
 {
     entity.FormFactor = this;
 }
Exemplo n.º 17
0
 private void AttachMotherboards(Motherboard entity)
 {
     entity.PowerType = this;
 }
Exemplo n.º 18
0
 private void DetachMotherboards(Motherboard entity)
 {
     entity.FormFactor = null;
 }
Exemplo n.º 19
0
 private bool FilterMotherboards(Motherboard entity)
 {
     return (entity.PowerTypeId == this.Id);
 }
Exemplo n.º 20
0
 private bool FilterMotherboards(Motherboard entity)
 {
     return (entity.FormFactorId == this.Id);
 }
Exemplo n.º 21
0
 private void DetachMotherboards(Motherboard entity)
 {
     entity.Socket = null;
 }
Exemplo n.º 22
0
 private void AttachMotherboards(Motherboard entity)
 {
     entity.GPU = this;
 }
Exemplo n.º 23
0
 private bool FilterMotherboard(Motherboard entity)
 {
     return (entity.Id == this.MotherBoardId);
 }
Exemplo n.º 24
0
 /// <summary>
 /// Create a new Motherboard object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="frequency">Initial value of the Frequency property.</param>
 /// <param name="sATA">Initial value of the SATA property.</param>
 /// <param name="socketId">Initial value of the SocketId property.</param>
 /// <param name="powerTypeId">Initial value of the PowerTypeId property.</param>
 /// <param name="memoryTypeId">Initial value of the MemoryTypeId property.</param>
 /// <param name="chipsetId">Initial value of the ChipsetId property.</param>
 /// <param name="formFactorId">Initial value of the FormFactorId property.</param>
 /// <param name="deviceId">Initial value of the DeviceId property.</param>
 public static Motherboard CreateMotherboard(global::System.Int32 id, global::System.Int16 frequency, global::System.Int16 sATA, global::System.Int32 socketId, global::System.Int32 powerTypeId, global::System.Int32 memoryTypeId, global::System.Int32 chipsetId, global::System.Int32 formFactorId, global::System.Int32 deviceId)
 {
     Motherboard motherboard = new Motherboard();
     motherboard.Id = id;
     motherboard.Frequency = frequency;
     motherboard.SATA = sATA;
     motherboard.SocketId = socketId;
     motherboard.PowerTypeId = powerTypeId;
     motherboard.MemoryTypeId = memoryTypeId;
     motherboard.ChipsetId = chipsetId;
     motherboard.FormFactorId = formFactorId;
     motherboard.DeviceId = deviceId;
     return motherboard;
 }