public CircuitSymbol Create(Circuit circuit, LogicalCircuit logicalCircuit, int x, int y) { return(this.CreateItem(Guid.NewGuid(), circuit, logicalCircuit, x, y, CircuitSymbolData.RotationField.Field.DefaultValue)); }
public void DeleteAllPins(Circuit circuit) { this.SelectByCircuit(circuit).ToList().ForEach(pin => pin.Delete()); }
// Selects Pin by Circuit public IEnumerable <Pin> SelectByCircuit(Circuit circuit) { return(this.Select(this.Table.Select(PinData.CircuitIdField.Field, circuit.CircuitId))); }
protected override bool Exists(string name, Circuit group) { return(this.FindByCircuitAndName(group, name) != null); }