/// <summary> /// Deprecated Method for adding a new object to the smu_Training EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTosmu_Training(smu_Training smu_Training) { base.AddObject("smu_Training", smu_Training); }
/// <summary> /// Create a new smu_Training object. /// </summary> /// <param name="trainingId">Initial value of the TrainingId property.</param> /// <param name="trainingTypeId">Initial value of the TrainingTypeId property.</param> /// <param name="trainingName">Initial value of the TrainingName property.</param> /// <param name="trainingDescription">Initial value of the TrainingDescription property.</param> /// <param name="points">Initial value of the Points property.</param> /// <param name="pointsTypeId">Initial value of the PointsTypeId property.</param> /// <param name="pointsIntervall">Initial value of the PointsIntervall property.</param> /// <param name="pointsIntervallFactor">Initial value of the PointsIntervallFactor property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static smu_Training Createsmu_Training(global::System.Int32 trainingId, global::System.Int32 trainingTypeId, global::System.String trainingName, global::System.String trainingDescription, global::System.Int32 points, global::System.Int32 pointsTypeId, global::System.Int32 pointsIntervall, global::System.Decimal pointsIntervallFactor, global::System.Boolean isActive) { smu_Training smu_Training = new smu_Training(); smu_Training.TrainingId = trainingId; smu_Training.TrainingTypeId = trainingTypeId; smu_Training.TrainingName = trainingName; smu_Training.TrainingDescription = trainingDescription; smu_Training.Points = points; smu_Training.PointsTypeId = pointsTypeId; smu_Training.PointsIntervall = pointsIntervall; smu_Training.PointsIntervallFactor = pointsIntervallFactor; smu_Training.IsActive = isActive; return smu_Training; }