Beispiel #1
0
 public Stream OpenMemo()
 {
     if (string.IsNullOrEmpty(memoPath))
     {
         throw new InvalidOperationException($"No associated MEMO-file ({DbfFilePathHelper.GetMemoExtension(Path.GetExtension(dbfPath))}) found.");
     }
     return(new FileStream(memoPath, FileMode.Open, FileAccess.Read, FileShare.Read | FileShare.Write | FileShare.Delete, short.MaxValue, FileOptions.RandomAccess));
 }
Beispiel #2
0
 public Dbf(string filePath, Encoding encoding)
     : this(filePath, DbfFilePathHelper.GetMemoPath(filePath), encoding)
 {
 }
Beispiel #3
0
 public Dbf(string filePath)
     : this(filePath, DbfFilePathHelper.GetMemoPath(filePath))
 {
 }