Samples

The provided samples use v4.0 database. The embedded database used for data access, and, it runs out of the box for x86/x64 platforms. The samples require VS2010 and .NET 4.0. It shows how to use database from c#, VB.NET and c++. To begin, download the latest samples here.

The samples structure:

Dependencies

ScimoreDB native binaries:

  • NET4.0\Scimore.Data.ScimoreClient.dll. The .NET provider; targets .NET4.0 framework. The provider is platform independent. It can be used to connect to DB server or embedded database. NOTE: for embedded database access single Scimore.Data.ScimoreClient.dll required. Version 4.0 does not require extra assemblies (v3.0 version does).
  • Native/unmanaged SDK. The c++ client library.

    • Headers. Application require to define include for SDK/include/scdriver.h.
    • C++ client library SDK/lib. There are .lib and .dll files. The client linking is dynamic. Therefore, include .lib file in the project and place dll together with the applications' executable. Use distinct library per x86/x64 platform:

      • Platform x86 - Scimore.Data.ScimoreClientNative.x86.dll and Scimore.Data.ScimoreClientNative.x86.lib.
      • Platform x64 - Scimore.Data.ScimoreClientNative.x64.dll and Scimore.Data.ScimoreClientNative.x64.lib.
    • Embedded database. When use embedded db in c++ application, place native database dll's targeting the platform the application runs:

      • Platform x86 - Scimore.Data.ScimoreEmbeddedDBNative.x86.dll.
      • Platform x64 - Scimore.Data.ScimoreEmbeddedDBNative.x64.dll.

Filer

Application demonstrates how to use the embedded database in c++. The application scans windows folders, creates file structure in database and allow querying it. Also, demos synchronous and asynchronous database access. The sample targets VS2010 environment.

BlobDemo

Simple c# application, demonstrates how to store image and retrieve.

ScimoreMediaDirectory

Like "Filer" sample, the application scans file system for media files. Then, media file details (author, name,..) stored in embedded database. Finally, using free text search, find the particular media file.

VB

2 projects demonstrate how to access database from VB.NET.