不支持关键字的实体框架

时间:2018-07-23 12:08:54

标签: c# entity-framework

我收到带有某些加密值的“关键字不受支持”错误,如下所示:-

user=> (def tmp-hash (doto (new java.util.HashMap) (.put "a" 1) (.put "b" 2) (.put "c" 3) (.put "d" 4) (.put "e" 5) (.put "f" 6) (.put "g" 7) (.put "h" 8) (.put "i" 9) (.put "j" 10))
user=> (let [t (transient {})] (doseq [[k v] tmp-hash] (assoc! t k v)) (persistent! t))
{"a" 1, "b" 2, "c" 3, "d" 4, "e" 5, "f" 6, "g" 7, "h" 8}

然后当我试图查明问题时,出现以下错误

Keyword not supported: '22ypsybkfld6fx5hehlimn3j8zoa9oluglquhswbs736snzm42qg7lzu/p2v3bpylsm7plojzc5fmgdhtjnbxzt6uvg7zibr5vf8koimw+ovpkmneh7j4r0xd2cgv4ywikzwuqm1jqerxwujrzorijvohgw5d9ru0/hsyztzc0qzbt/zwz/6kp0hoxpe8acus0wbapemlfwkbngf7av8307bcwzwybt9usm4mfp6gkldrs3of2sdoqn11bhc3cax4x0vb101+ztahndf0dhaoyux/g16tqutvqlbv2itvlwobls65s+crecz8sifsvhsoynx5queczq1lzypu5ue17mt3bfc028rlizhim15xiztoplwpjou+jpiia4ur0p07nasawmgcideatlrreppyqzcdzlu+zekzh+jhzve6dkahb4z0wxylhva3arktbsvqi57hj7h5pw8ggevcgxm6ywq4yepzpcgzrdgcravocdlhibdgvjdmqbncnwnrhg/2xjmpae9ipu07kz1k6+cx4y9nrxsd8z0kyhgzfzd5an4m1qlimn/xxtsanp4xbux1fvcsuenpazam9phvifqu62noysrvkd9qjrlofxjfssedqn1hnazo/+ybtqqpj4fyzxspxpew/l+4s0wkcvbueu9jx0tgbgmqy1094vkixsnoc+xlbfhckcrw3f1aonogw1qjuicem8hvgupolgzoozrdyi2vr6ika7+nhdufjal6ugmb0lnobn2o8lg+gdxj6ggt0j7xmeuoetmuzpoo56/ynixtraxai7xdpmxpaipaxtz/lbvtenmqlmx2ldwm8us5w3t9t7qlxnzuvegjkaamg5ggbeemiwc9vk5hurjzily9qm8memshdccm0j9wkges7akgdb/3fm3dvuaxvnnjyt29jdocojqkmekjdbulhugz9qyqqj1o+nmbrkxpatyunwlwte'.

我不确定如何解决此问题,以下是我的连接字符串

"   at System.Data.Entity.Core.EntityClient.Internal.DbConnectionOptions.ParseInternal(IDictionary`2 parsetable, String connectionString, IList`1 validKeywords)\r\n   at System.Data.Entity.Core.EntityClient.Internal.DbConnectionOptions..ctor(String connectionString, IList`1 validKeywords)\r\n   at System.Data.Entity.Core.EntityClient.EntityConnection.ChangeConnectionString(String newConnectionString)\r\n   at System.Data.Entity.Internal.LazyInternalConnection.InitializeFromConnectionStringSetting(ConnectionStringSettings appConfigConnection)\r\n   at System.Data.Entity.Internal.LazyInternalConnection.TryInitializeFromAppConfig(String name, AppConfig config)\r\n   at System.Data.Entity.Internal.LazyInternalConnection.Initialize()\r\n   at System.Data.Entity.Internal.LazyInternalConnection.get_ProviderName()\r\n   at System.Data.Entity.Internal.DefaultModelCacheKeyFactory.Create(DbContext context)\r\n   at System.Data.Entity.Internal.LazyInternalContext.InitializeContext()\r\n   at System.Data.Entity.Internal.InternalContext.GetEntitySetAndBaseTypeForType(Type entityType)\r\n   at System.Data.Entity.Internal.Linq.InternalSet`1.Initialize()\r\n   at System.Data.Entity.Internal.Linq.InternalSet`1.get_InternalContext()\r\n   at System.Data.Entity.Internal.Linq.InternalSet`1.get_Local()"

我不确定出了什么问题?

有人可以帮我吗?

预先感谢

0 个答案:

没有答案