Over a million developers have joined DZone.

Embedding a Firebird database in your .Net Project

· Database Zone

Build fast, scale big with MongoDB Atlas, a hosted service for the leading NoSQL database. Try it now! Brought to you in partnership with MongoDB.

Nazmi Altun's Blog - Using Embedded Firebird Database In .Net Projects


This post will show an example of using an embedded firebird database in .NET/C# projects.

What is FireBird?

From its official web-site( http://www.firebirdsql.org) , Firebird is a powerful, open-source relational database system, with high performance and extensive support for powerful SQL features with close adherence to the SQL standards. Whether you're developing a small program or a large enterprise information system, Firebird is the database for you. Take a look at the Case Studies to get an impression of other people using Firebird.

So, firebird is a database system that has stored procedure and trigger functionality. It also be used as server database or embedded database. This post will be about using embedded Firebird database in your .NET application.

Creating Database Tables

Since this is just a sample that show basic things , we will create a small student-classroom system. Each class has students and user will add students under each class.



In this sample , we create a Windows Forms applications. Since , .NET doesn’t have Firebird data provider , we need to download it from Firebirds web-site. Here’s link


After we download it, we add FirebirdSql.Data.FirebirdClient .dll as reference in our project. For embedded usage of firebird database we also need to download some dll files and add our project.


Firebird Data Access Application Block

For simplifying and optimizing , database access codes we use Data Access Application Block.

Data Access Application Block for FireBird can be downloaded from here http://www.codeproject.com/KB/cs/FireBirdSqlHelper.aspx



It's been a few years since I've blogged about Firebird and this post looks like a good one too break that silence...

Now it's easier than ever to get started with MongoDB, the database that allows startups and enterprises alike to rapidly build planet-scale apps. Introducing MongoDB Atlas, the official hosted service for the database on AWS. Try it now! Brought to you in partnership with MongoDB.


Published at DZone with permission of Greg Duncan, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}