/// <summary> /// Creates or migrate a table in the database for the given table mapping, creating indexes if needed. /// </summary> /// <returns>A task that completes once the table is succesfully created and is ready for use.</returns> /// <param name="This">The database connection</param> /// <typeparam name="T">The mapped type.</typeparam> public static Task InitTableAsync <T>(this IAsyncDatabaseConnection This) { Contract.Requires(This != null); return(This.InitTableAsync <T>(CancellationToken.None)); }