문제

C #에 작성된 WCF 서비스 내에서 사용하기에 좋은 선택이 될 것입니다.나는 현재 FirebirdSQL을 사용하고 있지만 너무 많은 문제를주는 것입니다.문서 및 지원도 끔찍합니다.

편집 : 죄송합니다, 질문을 할 때 더 구체적으로 구체적이었을 것입니다.SQLite가 C #에서 Embedded 데이터베이스에 대한 좋은 선택인지 여부는 무엇을 의미했는지였습니다.MS SQL 이이 문제가 발생하지 않습니다.

도움이 되었습니까?

해결책

SQLite is a great platform for any language, however there are small concerns I've had with it under .NET.

  1. It is natively compiled. This breaks .NET's AnyCPU Implementations of .NET (i.e. you have to explicitly distribute a 32bit & 64bit version of your app, and have some hand-written rules in your .csproj (MSBUILD) file to select the different dependencies based on what you select.
  2. It has some sticky threading issues. You're going to run into trouble if you're trying to use the same DB from multiple places (multiple instances of your app) etc. It's doable, but it basically uses a simplistic form of database/table locking to achieve this, which could be a major concern based on your program.

All In all i really like SQLite, but if I could find one that didn't require a redistributable (*cough*SQL Express*cough*), I would use another embedded DBMS for .NET Apps. To date I havent found one aside from Raven DB but that's a document DB.

Edit: Note, Raven DB Is also only free for open-source applications. It's not suitable for proprietary applications unless you're willing to shell out for a licence, so when looking into it please be sure to factor it into your budget.

다른 팁

SQL Express always works well

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top