/// <summary> /// Provides a deterministic way to create the ODataViewModel property. /// </summary> public static void CreateODataViewModel() { if (_oDataViewModel == null) { _oDataViewModel = new ODataViewModel(); } }
/// <summary> /// Provides a deterministic way to delete the ODataViewModel property. /// </summary> public static void ClearODataViewModel() { _oDataViewModel.Cleanup(); _oDataViewModel = null; }