Nhibernate Issue after adding a New Column on existing application -- 2
$50-100 USD
Closed
Posted almost 4 years ago
$50-100 USD
Paid on delivery
I have added a new column to Existing Table from SQL SERVER, and Rebuild the code and It works fine when reading a record, While Saving the changes I'm getting the below exception
public TEntity Get(int id) {
[login to view URL] = [login to view URL];
var entity = [login to view URL]<TEntity>(id);
return entity;
}
Above method is invoked when Reading a Record (Which is Good)
public bool Update(TEntity entity) {
[login to view URL]();
[login to view URL](entity);
[login to view URL]();
[login to view URL](); -----------Exception coming at this line
return true;
}
Above Method is Invoked when a record is updated.
Exception Details:
Message: could not execute batch command.[SQL: SQL not available]
Inner Exception: {"Invalid column name 'UseTerms'."}
Stack Trace:
at [login to view URL]()
at [login to view URL](ITransaction tx)
at [login to view URL]()
at [login to view URL]`[login to view URL](TEntity entity) in D:\WebApp\Core\[login to view URL]\Repositories\[login to view URL]:line 55
at [login to view URL][TEntity,TDto](Int32 groupId, IRepository`1 repository, TDto dto) in D:\WebApp\Core\[login to view URL]\Configuration\[login to view URL]:line 63
at [login to view URL](GroupConfigurationDto groupConfiguration, Guid updatedBy) in D:\WebApp\Core\[login to view URL]\Configuration\[login to view URL]:line 91
at [login to view URL](GroupConfigurationDto groupConfiguration, Guid updatedBy) in D:\WebApp\Core\[login to view URL]\[login to view URL]:line 24
at SyncInvokeSaveGroupConfiguration(Object , Object[] , Object[] )
at [login to view URL](Object instance, Object[] inputs, Object[]& outputs)
at [login to view URL](MessageRpc& rpc)
Hello,
I have read the job description and I am interested in this job. I have 8 years experience in developing products using ASP.NET MVC, Azure, ASP.NET, C# Programming. I have used Nhibernate a lot in my projects and can resolve this issue for you.
Regards,
Jai Singh
Hello Sir,
I'm a senior dot net developer, I have excellent experience in Entity Framework,
I totally understand your problem and I have clear idea about what is the fix to your problem
looking forward to talk to you on chat to discuss the details
see you
Hello Sir,
I am a senior dot net developer, I have overall 6 yrs experience in Entity Framework,
I totally understand your problem and I have clear idea about what is the fix to your problem
looking forward to talk to you on chat to discuss the details
see you
Hello,
I read your message and i will solve your problem. this is a small issue so I can do it on low budget.
it's pleasure if we can discuss on it more.
thank you
hello, I saw your requirement that you are facing issue in your code. I will resolve it for you. I am a .net developer and I have 5 years of work experience in development. I hope I will get chance to do this job.
Thank you
Hi,
I got what error is. I have 5 years of experience in developing .Net and java application using hibernate. Please provide me an opportunity to work on this.
Thanks,
Kiran.