Isam.Data.IsamClient.Base
1.0.0.26271
dotnet add package Isam.Data.IsamClient.Base --version 1.0.0.26271
NuGet\Install-Package Isam.Data.IsamClient.Base -Version 1.0.0.26271
<PackageReference Include="Isam.Data.IsamClient.Base" Version="1.0.0.26271" />
<PackageVersion Include="Isam.Data.IsamClient.Base" Version="1.0.0.26271" />
<PackageReference Include="Isam.Data.IsamClient.Base" />
paket add Isam.Data.IsamClient.Base --version 1.0.0.26271
#r "nuget: Isam.Data.IsamClient.Base, 1.0.0.26271"
#:package Isam.Data.IsamClient.Base@1.0.0.26271
#addin nuget:?package=Isam.Data.IsamClient.Base&version=1.0.0.26271
#tool nuget:?package=Isam.Data.IsamClient.Base&version=1.0.0.26271
Isam.Data.IsamClient.Base
A fully managed ADO.NET data provider for the non-Access Jet/ACE ISAM formats: Text/CSV, dBASE, FoxPro,
HTML and Lotus. Its API follows Microsoft.Data.SqlClient. It reads and writes the files directly, with
no Jet, ACE, OLE DB, ODBC or native code.
A connection string written for Microsoft.Jet.OLEDB.4.0 or Microsoft.ACE.OLEDB.12.0 works unchanged.
- Namespace:
Isam.Data.IsamClient - Targets:
net35,net40,net45,netstandard2.0,netstandard2.1 - Excel (
.xls,.xlsx): add theIsam.Data.IsamClient.Excelpackage - SQL:
Jet.Data.SqlEngine, which NuGet installs with this package
Usage
using Isam.Data.IsamClient;
using var cn = new IsamConnection(@"Data Source=C:\Data\Tables;Extended Properties=""dBASE IV;""");
cn.Open();
using var cmd = new IsamCommand(
"SELECT CNAME, BORN FROM CUST WHERE PRICE > @min ORDER BY CNAME", cn);
cmd.Parameters.AddWithValue("@min", 10m);
using var r = cmd.ExecuteReader();
while (r.Read())
{
Console.WriteLine($"{r.GetString(0)} {r.GetDateTime(1):d}");
}
Types: IsamConnection, IsamCommand, IsamDataReader, IsamParameter, IsamDataAdapter,
IsamCommandBuilder, IsamTransaction, IsamConnectionStringBuilder, IsamException.
Formats
| Format | Data Source |
Tables | Writes |
|---|---|---|---|
| Text | directory | .csv, .txt, .tab, .asc files, typed by schema.ini |
INSERT appends; UPDATE/DELETE rewrite the file; CREATE TABLE also writes schema.ini |
| dBASE | directory | .dbf (.dbt memos, .ndx/.mdx indexes) |
in place; DELETE flags the record. Indexes are not updated or used for seeks |
| FoxPro | directory or .dbc |
.dbf (.fpt memos, .cdx indexes) |
as dBASE, plus FoxPro field types and VFP null flags; in a .dbc, CREATE/DROP TABLE update the database (rows and .dcx) as Visual FoxPro does |
| HTML | .htm/.html file |
<table> elements, named by <caption>, else Table, Table1, … |
regenerates the document; read-only if the file holds more than tables |
| Lotus | directory of .wk* files, or one file |
each file, named without extension | WK1 only; WK3/WK4 refused |
Connection-string keywords
| Keyword | Default | Meaning |
|---|---|---|
Data Source |
— | Directory or file. Synonyms: DBQ, Database, FileName, DefaultDir |
Extended Properties |
— | Jet/ACE ISAM name and settings: dBASE IV;, Text;FMT=Delimited;CharacterSet=65001 |
Format |
inferred | Text, DBase, FoxPro, Excel, Html, Lotus |
Read Only |
false |
Opens every file read-only. Mode=Read does the same |
Locking |
Shared |
None, Shared, ReadOnlyShared, Exclusive |
Code Page |
0 |
0 = the file's own, else 1252. Synonym: CharacterSet |
Header Row |
true |
HDR: first row holds column names |
Max Scan Rows |
8 |
Rows sampled to infer types; 0 = all. Synonym: TypeGuessRows |
Import Mode |
0 |
IMEX: 1 reads every column as text |
LIKE Mode |
Access |
Access (* ? #) or Ansi (% _) |
Journal |
true |
Before-image journal inside transactions |
Command Timeout |
30 |
Default IsamCommand.CommandTimeout, seconds |
Provider, User ID, Persist Security Info, Driver, Jet OLEDB:* and the other OLE DB/ODBC keywords are
accepted and ignored.
SQL
Jet SQL:
SELECTwith joins,GROUP BY,HAVING, subqueries,UNIONandTOPINSERT,UPDATE,DELETE,CREATE TABLE,DROP TABLE- the Access function library (
Format,IIf,DateAdd,Nz, …) @name,:nameand?parameters
What a format can't do is refused, not approximated:
- no views, stored procedures or relationships: those schema collections are empty, and
CommandType.StoredProcedurethrows - a table the provider can't write safely opens read-only
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
| .NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.0 is compatible. netstandard2.1 is compatible. |
| .NET Framework | net35 is compatible. net40 is compatible. net403 was computed. net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen40 was computed. tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 3.5
- Jet.Data.SqlEngine (>= 1.0.0.26271)
- Net4x.AsyncBridge (>= 1.5.0.26262)
- Net4x.BaseTypes (>= 1.3.1.26262)
-
.NETFramework 4.0
- Jet.Data.SqlEngine (>= 1.0.0.26271)
- Net4x.AsyncBridge (>= 1.5.0.26262)
- Net4x.BaseTypes (>= 1.3.1.26262)
-
.NETFramework 4.5
- Jet.Data.SqlEngine (>= 1.0.0.26271)
- System.ValueTuple (>= 4.5.0)
-
.NETStandard 2.0
- Jet.Data.SqlEngine (>= 1.0.0.26271)
- System.Memory (>= 4.5.5)
- System.Text.Encoding.CodePages (>= 8.0.0)
-
.NETStandard 2.1
- Jet.Data.SqlEngine (>= 1.0.0.26271)
- System.Text.Encoding.CodePages (>= 8.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Isam.Data.IsamClient.Base:
| Package | Downloads |
|---|---|
|
Isam.Data.IsamClient.Excel
The Excel format for Isam.Data.IsamClient: reads and writes .xls and .xlsx workbooks as tables, through NPOI. Add it beside Isam.Data.IsamClient to open a workbook with IsamConnection. |
|
|
Net4x.DapperLibrary.Isam
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|