/// <summary> /// Deprecated Method for adding a new object to the CourtTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCourtTypes(CourtTypeEntity courtTypeEntity) { base.AddObject("CourtTypes", courtTypeEntity); }
/// <summary> /// Create a new CourtTypeEntity object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="description">Initial value of the Description property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static CourtTypeEntity CreateCourtTypeEntity(global::System.Byte id, global::System.String description, global::System.Boolean isActive) { CourtTypeEntity courtTypeEntity = new CourtTypeEntity(); courtTypeEntity.Id = id; courtTypeEntity.Description = description; courtTypeEntity.IsActive = isActive; return courtTypeEntity; }