Isam.Data.IsamClient.Base 1.0.0.26271

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package Isam.Data.IsamClient.Base --version 1.0.0.26271
                    
NuGet\Install-Package Isam.Data.IsamClient.Base -Version 1.0.0.26271
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Isam.Data.IsamClient.Base" Version="1.0.0.26271" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Isam.Data.IsamClient.Base" Version="1.0.0.26271" />
                    
Directory.Packages.props
<PackageReference Include="Isam.Data.IsamClient.Base" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Isam.Data.IsamClient.Base --version 1.0.0.26271
                    
#r "nuget: Isam.Data.IsamClient.Base, 1.0.0.26271"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Isam.Data.IsamClient.Base@1.0.0.26271
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Isam.Data.IsamClient.Base&version=1.0.0.26271
                    
Install as a Cake Addin
#tool nuget:?package=Isam.Data.IsamClient.Base&version=1.0.0.26271
                    
Install as a Cake Tool

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 the Isam.Data.IsamClient.Excel package
  • 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:

  • SELECT with joins, GROUP BY, HAVING, subqueries, UNION and TOP
  • INSERT, UPDATE, DELETE, CREATE TABLE, DROP TABLE
  • the Access function library (Format, IIf, DateAdd, Nz, …)
  • @name, :name and ? parameters

What a format can't do is refused, not approximated:

  • no views, stored procedures or relationships: those schema collections are empty, and CommandType.StoredProcedure throws
  • a table the provider can't write safely opens read-only

License

MIT

Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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