/// <summary> /// Starts an asynchronous data portal operation to /// execute a command object. /// </summary> /// <typeparam name="T"> /// Type of object to execute. /// </typeparam> /// <param name="command"> /// Reference to the object to execute. /// </param> public static async Task <T> ExecuteAsync <T>(T command) where T : IMobileObject { var dp = new DataPortal <T>(); return(await dp.ExecuteAsync(command)); }