/// <summary> /// Deprecated Method for adding a new object to the TipoMotor EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTipoMotor(TipoMotor tipoMotor) { base.AddObject("TipoMotor", tipoMotor); }
/// <summary> /// Create a new TipoMotor object. /// </summary> /// <param name="idTipoMotor">Initial value of the IdTipoMotor property.</param> public static TipoMotor CreateTipoMotor(global::System.Int32 idTipoMotor) { TipoMotor tipoMotor = new TipoMotor(); tipoMotor.IdTipoMotor = idTipoMotor; return tipoMotor; }