DataSet to code file (C #) tool.
It's easy to write your own ODBC or OLE DB stuff.
Large databases such as SQL Server or Oracle are already supported by EF.
Some of the other databases are still used by OLEDB,ODBC, only to write their own tools for generating entity classes.
It also supports OLE DB, but does not support ODBC.
/******************************************************************************** @remarks Modified by [Takaya code]* @ version 1.0* @ author:takaya* Modified at:2015-01-11 22:40* Memo: * Copyright (C) Takaya Code * All rights reserved.*******************************************************************************/usingSystem;usingSystem.Collections.Generic;usingSystem.Linq;usingSystem.Text;usingSystem.Threading.Tasks;namespacemodel{ Public classShohin { PublicSystem.String shohin_id {Get;Set; } PublicSystem.String Shohin_mei {Get;Set; } PublicSystem.String Shohin_bunrui {Get;Set; } PublicSystem.Int32 Hanbai_tanka {Get;Set; } PublicSystem.Int32 Shiire_tanka {Get;Set; } PublicSystem.DateTime Torokubi {Get;Set; } }}
Additional instructions to use the method:
1.sqlquery.txt
The statement that gets the table structure, modifies itself according to the database. {0} is the name of the table used by the program.
2.template.txt
is a template that can be modified by itself.
The default build file is under the program's result directory.
Http://sf.mcdaily-hk.net/uploads/file/201501/20150111075658_98052.rar
7z file
Or
Http://pan.baidu.com/s/1qWAyFtM
Yu3h
Very primitive things, who will write. Do not expect too much. Orz.
OLEDB,ODBC Simple entity Builder.