async deleteObject(sStateName){
		try{
			// Verify that associated object exists
			const CurrentObj = await this.Fahrplan.getObjectAsync(sStateName);
			if (CurrentObj){
				if (this.isUnloaded === false) await this.Fahrplan.delObjectAsync(sStateName);
			} else{
				const CurrentState = await this.Fahrplan.getStateAsync(sStateName);
				if (CurrentState){
					if (this.isUnloaded === false) await this.Fahrplan.deleteStateAsync(sStateName);
				}
			}
		}catch(e){
			this.ReportingError(e, `Exception removing State`, "fHelpers", "deleteObject", "", {name: sStateName});
		}
	}
/**
	* Deletes object
	* @param {string} sStateName Name of the State
	*/
Deletes object
@param {string} sStateName Name of the State
Deletes object @param { string } sStateName Name of the State
async deleteObject(sStateName){
		try{
			const CurrentObj = await this.Fahrplan.getObjectAsync(sStateName);
			if (CurrentObj){
				if (this.isUnloaded === false) await this.Fahrplan.delObjectAsync(sStateName);
			} else{
				const CurrentState = await this.Fahrplan.getStateAsync(sStateName);
				if (CurrentState){
					if (this.isUnloaded === false) await this.Fahrplan.deleteStateAsync(sStateName);
				}
			}
		}catch(e){
			this.ReportingError(e, `Exception removing State`, "fHelpers", "deleteObject", "", {name: sStateName});
		}
	}
async deleteObject ( sStateName ) { try { const CurrentObj = await this . Fahrplan . getObjectAsync ( sStateName ) ; if ( CurrentObj ) { if ( this . isUnloaded === false ) await this . Fahrplan . delObjectAsync ( sStateName ) ; } else { const CurrentState = await this . Fahrplan . getStateAsync ( sStateName ) ; if ( CurrentState ) { if ( this . isUnloaded === false ) await this . Fahrplan . deleteStateAsync ( sStateName ) ; } } } catch ( e ) { this . ReportingError ( e , ` ` , "fHelpers" , "deleteObject" , "" , { name : sStateName } ) ; } }
Deletes object
 @param {string} sStateName Name of the State
Deletes object @param { string } sStateName Name of the State
// Verify that associated object exists