Hye guys, im new in programming.
currently, i develop the inhouse application and i get an error when 2 same application run the program and the error shown (the software is currently use by the user). The database was place at map drive (as dummy). if any of u can help me... i totally apreciate that.
jalpesh vadgama
Co-Founder, FutureStack Solution, Full Stack developer having more than 13+ years of experience in web technologies.
I think you could use transaction in database I'm not sure whether you are using ADO.NET directly or any ORM but definitely Transaction is way to go. Transactions in database make sure that it maintains the concurrency of database. Following is couple of link how you could use transactions with ADO.NET and Orms like Entity Framework.
codeproject.com/Articles/10223/Using-Transactions…
This is how you can do with ORMs like entity framework
entityframeworktutorial.net/entityframework6/tran…