Is it safe to update DBF files using Advantage Local Server .Net provider whilst a FoxPro application is running that may also be accessing the DBF files? i.e. does Advantage take care of row locking?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Advantage can be used for concurrent access between a .NET application and a VFP application using our compatibility locking. When in compatibility locking mode Advantage accesses the tables using the same mechanism as VFP. Therefore row locking will be handled by Advantage.
The Advantage .NET data provider also contains an additional object called AdsExtendedDataReader which provides more ISAM functionality. You can use an AdsExtendedDataReader to explicitly lock records.
You can get more information here.