Menu

Chapter 00 - Home and Index

Diego Lunadei

Luna is an ORM open source and freely downloadable automatic code generator to facilitate and standardize the writing of classes that save data to database.

The code is generated in VB.NET language and can be used in both Desktop and Web application. Luna Output code can be used in both C# or Vb.Net solution.

Luna project start from 'I need to write in an optimal manner and easily manage the most boring and repetitive data access, while maintaining an easily understood standard'.

You should not embed anything (DLL or assembly) in your project, and all generated code is easily changeable or customizable by the developer.

So... How does it work?

Structure

Luna has a logic of its ownership structure tables, fields and relations with which to map an existing database into memory in a standardized format.

Interpreter

It's an interpreter for each specific type of database, so it is possible to support virtually any type of database. The interpreter is responsible for connecting to the origin database specified, read the table structure and relations in memory and create a logical structure that follows the first in a field using the Luna classes, tables and relations.

Converter

Once the database structure has been physically disconnected from the data, the Converter create code that is used to interface Application with the database.

Project Members:


Chapter Index

Chapter 1 - Loading a Datasource

Chapter 2 - Select Table to generate

Chapter 3 - Generate Code!

Chapter 4 - What is generated?

Chapter 5 - Create your Datalayer Project

Chapter 6 - Setting your Connectionstring

Chapter 7 - How to create a simple Connection to Datasource

Chapter 8 - Read an entity from Datasource

Chapter 9 - Save an entity to Datasource

Chapter 10 - Search an entity in Datasource, how can you make a simple search

Chapter 11 - Reopen your Luna Project from VisualStudio when you modify your Datasource

Chapter 12 - LunaTransactionBox, how manage Datasource Transaction

Chapter 13 - Data Validation, IsValid() and InternalIsValid()

Chapter xx - How Extend LunaContext (*** I WRITE THIS ARTICLE SOON)

Chapter xx - LunaSearchParameter Advanced Option (*** I WRITE THIS ARTICLE SOON)

Chapter xx - How LunaEngine work with MultiThread Application (*** I WRITE THIS ARTICLE SOON)

Chapter xx - How use Luna from C# (*** I WRITE THIS ARTICLE SOON)

Chapter xx - Luna IoC - Inversion of Control (*** I WRITE THIS ARTICLE SOON)

Chapter xx - Luna Integration with VisualStudio and TFS (*** I WRITE THIS ARTICLE SOON)

Chapter xx - Use LunaEngine with Multiple Datalayer Project in the some solution (*** I WRITE THIS ARTICLE SOON)

Chapter xx - LunaEngine, how extend Read or Save Method (*** I WRITE THIS ARTICLE SOON)

Chapter xx - LunaEntity, Best Practices (*** I WRITE THIS ARTICLE SOON)


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.