Error has occurred: CloudErrorMessage: ORA-14406: updated partition key is beyond highest legal partition key

 Error has occurred: CloudErrorMessage: ORA-14406: updated partition key is beyond highest legal partition key
Stack: at ELinq.Common.ExecutionService.ExecuteNonQuery(CommandContext ctx)
at lambda_method(Closure )
at ELinq.InternalDbContext.Execute(Expression expression)
at ELinq.InternalDbContext.System.Linq.IQueryProvider.Execute(Expression expression)
at ELinq.DbSet.Update[T,S](IRepository`1 repository, Object instance, Expression`1 updateCheck, Expression`1 resultSelector)
at ELinq.DbSet`1.Update(Object instance)
at Orm.CommPersist.Update(Object entity)
at XYHis.Framework.Services.DBClientBase.Update(Object entity)
at XYHis.Framework.Services.DBClientBase.InsertOrUpdate[T](T entity)
at XYHis.Services.HisFrameService.InAdviceLongService.InsertOrUpdate(InAdviceLong InAdviceLong)
Exception: System.Exception
Source: App.Framework.Core
Target: TResult Process[TResult](System.Linq.Expressions.Expression`1[System.Func`2[T,TResult]])
StackTrace: 在 App.Framework.Client.AgentServiceProcessor`1.Process[TResult](Expression`1 expression)

 

 

原来是在子类中的HospitalId 标记为了虚属性了

去掉之后就可以正确的插入了

 

 

 

posted @ 2018-12-07 10:22  从来没有离开过  阅读(993)  评论(0)    收藏  举报