通过以下提到的链接,我正在使用Azure Mobile SDK实现离线同步功能:
对于数据库,我正在使用 Azure MySQL 服务,并在App Service中配置了连接字符串。在获取TodoTable集合时,我遇到了一些异常。 在MySql提供程序清单中找不到商店类型“ rowversion”
是否可以配置和运行Azure移动服务以与My SQL一起使用? 用于MySql的NuGet软件包:
如果需要,请找到完整的堆栈跟踪。
{“ message”:“发生错误。”,“ exceptionMessage”:“商店类型 在MySql提供程序中找不到“ rowversion” manifest“,” exceptionType“:” System.InvalidOperationException“,” stackTrace“:” 在 System.Data.Entity.Utilities.DbProviderManifestExtensions.GetStoreTypeFromName(DbProviderManifest providerManifest,字符串名称)\ r \ n位于 System.Data.Entity.ModelConfiguration.Configuration.Properties.Primitive.PrimitivePropertyConfiguration.ConfigureColumn(EdmProperty 列,EntityType表,DbProviderManifest providerManifest)\ r \ n
在 System.Data.Entity.ModelConfiguration.Configuration.Properties.Primitive.BinaryPropertyConfiguration.ConfigureColumn(EdmProperty 列,EntityType表,DbProviderManifest providerManifest)\ r \ n
在 System.Data.Entity.ModelConfiguration.Configuration.Properties.Primitive.PrimitivePropertyConfiguration.Configure(EdmProperty 列,EntityType表,DbProviderManifest providerManifest,布尔值 allowOverride,布尔值fillFromExistingConfiguration)\ r \ n位于 System.Data.Entity.ModelConfiguration.Configuration.Properties.Primitive.PrimitivePropertyConfiguration。<> c__DisplayClass4.b__3(Tuple2 pm)\ r \ n at System.Data.Entity.Utilities.IEnumerableExtensions.Each [T](IEnumerable 1 ts,动作1动作)\ r \ n在 System.Data.Entity.ModelConfiguration.Configuration.Properties.Primitive.PrimitivePropertyConfiguration.Configure(IEnumerable1 propertyMappings,DbProviderManifest providerManifest,布尔值 allowOverride,布尔值fillFromExistingConfiguration)\ r \ n位于 System.Data.Entity.ModelConfiguration.Configuration.Types.StructuralTypeConfiguration.ConfigurePropertyMappings(IList`1 propertyMappings,DbProviderManifest providerManifest,布尔值 allowOverride)\ r \ n位于 System.Data.Entity.ModelConfiguration.Configuration.Types.EntityTypeConfiguration.ConfigurePropertyMappings(DbDatabaseMapping databaseMapping,EntityType实体类型,DbProviderManifest providerManifest,布尔值allowOverride)\ r \ n在 System.Data.Entity.ModelConfiguration.Configuration.Types.EntityTypeConfiguration.Configure(EntityType 实体类型,DbDatabaseMapping数据库映射,DbProviderManifest providerManifest)\ r \ n位于 System.Data.Entity.ModelConfiguration.Configuration.ModelConfiguration.ConfigureEntityTypes(DbDatabaseMapping databaseMapping,ICollection1实体集,DbProviderManifest providerManifest)\ r \ n位于 System.Data.Entity.ModelConfiguration.Configuration.ModelConfiguration.Configure(DbDatabaseMapping databaseMapping,DbProviderManifest providerManifest)\ r \ n位于 System.Data.Entity.DbModelBuilder.Build(DbProviderManifest providerManifest,DbProviderInfo providerInfo)\ r \ n位于 System.Data.Entity.DbModelBuilder.Build(DbConnection providerConnection)\ r \ n位于 System.Data.Entity.Internal.LazyInternalContext.CreateModel(LazyInternalContext internalContext)\ r \ n位于 System.Data.Entity.Internal.RetryLazy2.GetValue(TInput输入)\ r \ n
在 System.Data.Entity.Internal.LazyInternalContext.InitializeContext()\ r \ n 在System.Data.Entity.Internal.InternalContext.Initialize()\ r \ n在 System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)\ r \ n位于 System.Data.Entity.Internal.Linq.InternalSet1.Initialize()\ r \ n在 System.Data.Entity.Internal.Linq.InternalSet1.get_InternalContext()\ r \ n 在 System.Data.Entity.Infrastructure.DbQuery1.System.Linq.IQueryable.get_Provider()\ r \ n 在 System.Web.Http.OData.Query.HandleNullPropagationOptionHelper.GetDefaultHandleNullPropagationOption(IQueryable 查询)\ r \ n System.Web.Http.OData.Query.OrderByQueryOption.ApplyToCore(IQueryable 查询,ODataQuerySettings querySettings)\ r \ n位于 System.Web.Http.OData.Query.ODataQueryOptions.ApplyTo(IQueryable 查询,ODataQuerySettings querySettings)\ r \ n位于 System.Web.Http.OData.EnableQueryAttribute.ApplyQuery(IQueryable 可查询,ODataQueryOptions queryOptions)\ r \ n位于 System.Web.Http.OData.EnableQueryAttribute.ExecuteQuery(Object 响应,HttpRequestMessage请求,HttpActionDescriptor actionDescriptor)\ r \ n位于 System.Web.Http.OData.EnableQueryAttribute.OnActionExecuted(HttpActionExecutedContext actionExecutedContext)\ r \ n位于 System.Web.Http.Filters.ActionFilterAttribute.OnActionExecutedAsync(HttpActionExecutedContext actionExecutedContext,CancellationToken cancellingToken)\ r \ n ---结束 从上一个引发异常的位置开始的堆栈跟踪 --- \ r \ n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务 任务)\ r \ n System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务 任务)\ r \ n System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()\ r \ n --- 从先前引发异常的位置开始的堆栈跟踪结束 --- \ r \ n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务 任务)\ r \ n System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务 任务)\ r \ n System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext()\ r \ n --- 从先前引发异常的位置开始的堆栈跟踪结束 --- \ r \ n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务 任务)\ r \ n System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务 任务)\ r \ n System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()\ r \ n --- 从先前引发异常的位置开始的堆栈跟踪结束 --- \ r \ n在System.Web.Http.Filters.ActionFilterAttribute.d__5.MoveNext()\ r \ n --- 从先前引发异常的位置开始的堆栈跟踪结束 --- \ r \ n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务 任务)\ r \ n System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务 任务)\ r \ n System.Web.Http.Filters.ActionFilterAttribute.d__0.MoveNext()\ r \ n --- 从先前引发异常的位置开始的堆栈跟踪结束 --- \ r \ n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务 任务)\ r \ n System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务 任务)\ r \ n System.Web.Http.Controllers.ActionFilterResult.d__2.MoveNext()\ r \ n --- 从先前引发异常的位置开始的堆栈跟踪结束 --- \ r \ n在System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(任务 任务)\ r \ n System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(任务 任务)\ r \ n System.Web.Http.Dispatcher.HttpControllerDispatcher.d__1.MoveNext()“}