Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.net core的驱动? #51

Closed
kingflyok opened this issue Jul 15, 2019 · 21 comments
Closed

.net core的驱动? #51

kingflyok opened this issue Jul 15, 2019 · 21 comments
Assignees
Labels
enhancement New feature or request

Comments

@kingflyok
Copy link

1、是否可以提供一下.net core的数据库驱动
2、是否有集群版本

@hjxilinx
Copy link
Contributor

c#的API 开发包我们会在最近一两周发布。集群的版本暂时还不提供。

@melone18
Copy link

melone18 commented Jul 16, 2019

@hjxilinx 请问下C#的api是封装C++的还是基于原生开发的?

@hjxilinx
Copy link
Contributor

使用C#直接调用taos.dll中的c api提供服务。暂没有原生的开发包。

@zuozhiwen
Copy link

zuozhiwen commented Jul 18, 2019

如果对linux和windows打对应编译的nuget包,应该是可以的。我觉得用C实现,使用C#导入的形式效率是更高的,毕竟C#底层也是用相同的方式调用CLR的。

还有一点比较关键的是和EFCore的集成,现在的很多数据库都有EFCore支持计划,还有一些比较强力的开发人员参与项目包括EFCore开发人员微软mvp等等的。这个对于TDEngine感觉也是有挑战的。
参见: 数据库提供程序

@hzcheng hzcheng added the enhancement New feature or request label Jul 19, 2019
@hzcheng hzcheng added this to the Release Windows Client milestone Jul 19, 2019
@hzcheng hzcheng mentioned this issue Jul 19, 2019
@maikebing
Copy link
Contributor

@kingflyok
https://github.com/maikebing/Maikebing.EntityFrameworkCore.Taos

@guanshengliang
Copy link
Contributor

我们会在7月27号递交windows客户端,但封装成nuget包还需要再等等

@kingflyok
Copy link
Author

谢谢非常感谢 我想咨询一下 企业版如何购买 费用是多少

@hzcheng
Copy link
Contributor

hzcheng commented Jul 26, 2019

@kingflyok 您可以联系business@taosdata.com

guanshengliang added a commit that referenced this issue Jul 26, 2019
chinassx added a commit to chinassx/TDengine that referenced this issue Aug 3, 2019
* Fix compilation of taosdump

The mode argument must be supplied when O_CREAT or O_TMPFILE is
specified in flags for open(...).

* Don't SEGFAULT

* fix left/bs for release build

* Create readme.md

* Update pom.xml

Change the pom.xml for the JDBC demo project so that users can directly compile and package an executable jar with all the dependencies.

* [TBASE-641]

* The password is no longer stored in clear text, so you may need to reinstall the database

* Fix the bug when the stream calculation error occurs

* Fix the syntax error while EPOLLWAKEUP no defined in some systems

* Modify the default proportion of the last file

* Remove cmake's dependence on CXX

* Fix the Issue of taosdata#46, Build source code failure

* [modify libtaos.so link]

* [modify libtaos.so link]

* [modify libtaos.so link]

* [modify libtaos.so link]

* [modify libtaos.so link]

* [modify libtaos.so link]

* [modify libtaos.so link]

* update an expression

* Add make install error handle

* Update README.md

* Fix shell password issue taosdata#92

* Fix issue taosdata#91, remove assert for illegal filtering conditions

* Fix the issue taosdata#99, when the http request is broken, the query does not end normally

* Fix the issue taosdata#100, Change keyword stable to STable

* Fix the issue taosdata#108, limit does not have effects on the results

* Fix the issure taosdata#103, alter table change tag bug

* [issue taosdata#102]

* [issue taosdata#102]

* [issue taosdata#102]

* [modify path of libtaos.so]

* [modify path of libtaos.so]

* [modify path of libtaos.so]

* [Modify the use of sudo commands]

* [Modify the use of sudo commands]

* [Modify the use of sudo commands]

* [Modify the use of sudo commands]

* [Modify the use of sudo commands]

* [Modify the use of sudo commands]

* [Modify the use of sudo commands]

* [Modify the use of sudo commands]

* [Modify the use of sudo commands]

* [Modify the use of sudo commands]

* [Modify the use of sudo commands]

* [Modify the use of sudo commands]

* fix issue taosdata#117

* Increase the comparison test between InfluxDB and TDengine

* Fix the issue taosdata#120, Set the default listening IP address to 0.0.0.0

* Fix the issue taosdata#121, Output dataDir in the log file

* Fix the issure taosdata#118, Change the alter tag value sql syntax

* fix issue taosdata#122

* Fix the issure taosdata#126, Taosd may crash while an invalid token input

* Fix the issue taosdata#127, Check dead http links and close them

* Fix the issue #taosdata#110, unsorted timestamp in one request may cause crash

* Fix the issue taosdata#130, reference count may have a problem

* Update tsched.c

fix buffer overflow and memory leak.

* issue taosdata#141, also need to modify the function declaration

* Fix issue taosdata#145

* Fix the issue taosdata#148, failed to find the next file when the file id of the vnode is not continuous

* Fix the issue taosdata#149, SParsedDataColInfo not initialized

* [add sql and csv file for demo]

* Fix the issue taosdata#156

* [Add single quotation marks to nchar fields when export to a file]

* [modify the path of exec file]

* [Support using capitalized by table/db name]

* Added nodejs connector and example usage of nodejs

* Update README.md

* fix taosdata#174

* Updated gitignore and added some documentation and better naming

- Using _ to indicate variable/function is private and shouldn't be accessed
- Added JSDocs syntax to generate documentation
-

* More documentation and added node async functionality

* [fix db/table name]

* Added local documentation files

* Updated Readme and fixed foldername

* [validate table name when insert]

* Fix the issue taosdata#185

* Updated nodejs connector to 1.1.1

Implemented higher level API to make it more modular
Using promises and callbacks
Argument binding is now available e.g query(select ? from ?).bind("*", "table")

* Minor improvement to 'setErrMsg'

1. code like `char msg[] = "xxxxxx"` unnecessarily copied the string to stack, changed to `const char* msg = "xxxxxx"`.
2. the 2rd argument of `setErrMsg` is changed from `char*` to `const char*`.
3. the 3rd argument of `setErrMsg` is removed as `strncpy` stops copying at the end of source string.

* Documentation Update

* remove duplicate include in trpc.c

* Windows client, taosdata#51 taosdata#38 taosdata#32 taosdata#12

* Windows client

* Grammar and typo fixes. Updated some docs

* Headings fix for connector docs

* fix issue taosdata#206

* Add initial driver connector for rust

* Fix the #issue 217

* update the example code of stream.c

* Fix the #issue 220, TDengine can't start when /var/lib/taos does not exist

* [modify timestamp]

* [modify timestamp]

* Docs Update; Completed async functionality for Node.js connector, updated to 1.2.0

Docs
- Docs updated
  - include third party connectors links
  - local docs updated to web versions and fixed for compatability
Node
- Async added
- Deleted uncessary code
- Docs updated

* Fix the issue taosdata#222, add win64 python connector

* Fix the issue taosdata#222, add win64 python connector

* Update cinterface.js

removed broken code

* Update readme.md

* fix the issue taosdata#233, failed to record slow query

* fix the issue taosdata#233, failed to record slow query

* fix the issue taosdata#233, failed to record slow query

* Node updated to 1.2.1

Bug fix

* Fix the issue taosdata#222

* fix python close connection error

* fix the issue taosdata#240

* fix the issue taosdata#240

* update README

* Update README for building error: No CMAKE_CXX_COMPILER could be found

* delete unused taosTmrStop

* [Fixed dsn parsing for network addr and port by caeret. taosdata#214]

* remove some compile warnings

* add -g option to CMakeList.txt

* fix possible commit log init failure

* data transfer via restful interface may be lost

* data transfer via restful interface may be lost

* [no remove config, data, log files]

* Uploaded markdown docs for testing syncing with web docs

* Fixed typos - Web docs sync test 1

* Update Connector.md

* Update connector-ch.md

* Websync test 4

* [rust connector] support subscribe

* remove useless files

* fix typo in JDBC demo code

* Update advanced features-ch.md

taosdata#250

* fix the issue taosdata#264 taosdata#253 taosdata#251

* fix the issue taosdata#264 taosdata#253 taosdata#251

* import data may cause database blocking

* Update CONTRIBUTING.md

* remove some warnings

* add command size check when source file

* Fix issue taosdata#270
@guanshengliang
Copy link
Contributor

关于C#的问题,请在 #51 继续提问

@guanshengliang
Copy link
Contributor

TDengine团队将在研发计划中增加dapper框架的支持

@ArgoZhang
Copy link

TDengine团队将在研发计划中增加dapper框架的支持

个人觉得 dapper 仅仅是一个orm框架而已,应该先支持 .net/.netcore 然后各种orm相对应的我觉得网友自己都会做的

@ttgzs
Copy link

ttgzs commented Dec 2, 2019

TDengine团队将在研发计划中增加dapper框架的支持

C# 的client在哪里可以看到?

@guanshengliang
Copy link
Contributor

TDengine在windows下对JAVA/Python的支持,是通过调用windows下的taos.dll来实现的,taos.dll通过UDP/TCP与服务端通信。如果想用使用C#访问数据库,有两种方法
1.调用此动态链接库(taos.dll),通过UDP/TCP与服务端通信,此方法可以在examples文件夹中看到
2.通过Restful接口与服务端通信,可以参考
https://github.com/maikebing/Maikebing.EntityFrameworkCore.Taos
官方的C#的ORM框架还没有开发,即便安排到开发计划,也是基于windows下的taos.dll进行,即将C语言函数通过C#语言进行封装。
如果所说的.net/.netcore是指用.net framework重新包装一下通信协议,那么官方没有这个开发计划。

@thicktao
Copy link

dapper框架的支持在哪里可以看到呢?

@staneee
Copy link

staneee commented Aug 7, 2020

是否应该先通过包装c sdk支持ADO.NET标准,其余上层orm适配可以社区实现。

@maikebing
Copy link
Contributor

maikebing commented Aug 7, 2020

@staneee https://github.com/maikebing/Maikebing.EntityFrameworkCore.Taos
实现了ado.net 的标准

@vagile-cn
Copy link

TDengine在windows下对JAVA/Python的支持,是通过调用windows下的taos.dll来实现的,taos.dll通过UDP/TCP与服务端通信。如果想用使用C#访问数据库,有两种方法
1.调用此动态链接库(taos.dll),通过UDP/TCP与服务端通信,此方法可以在examples文件夹中看到
2.通过Restful接口与服务端通信,可以参考
https://github.com/maikebing/Maikebing.EntityFrameworkCore.Taos
官方的C#的ORM框架还没有开发,即便安排到开发计划,也是基于windows下的taos.dll进行,即将C语言函数通过C#语言进行封装。
如果所说的.net/.netcore是指用.net framework重新包装一下通信协议,那么官方没有这个开发计划。

那么 linux下是如何实现的呢?我司.net 已经不存在windowns服务器了= =

@maikebing
Copy link
Contributor

linux 下 .net core的驱动Maikebing.EntityFrameworkCore.Taos 调用的 是 libtaos.so

@maikebing
Copy link
Contributor

TDengine 2.0 最新适配版本 已经发布。 兼容Windows 64位, Linux 64 位 系统

https://github.com/maikebing/Maikebing.EntityFrameworkCore.Taos/releases/tag/v2.0.123

@vagile-cn
Copy link

linux 下 .net core的驱动Maikebing.EntityFrameworkCore.Taos 调用的 是 libtaos.so

这样的话 是需要自己编译嘛?

@maikebing
Copy link
Contributor

@vagile-cn 不需要, nuget 里面引用就行了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests