Skip to content

This C# project from Appeon demonstrates how to create Web APIs that perform CRUD using the SnapObjects ORM.

Notifications You must be signed in to change notification settings

teko000/SnapObjects-Example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

SnapObjects-Example

This Class Library (.Net Core) project uses SqlModelMapper from SnapObjects.Data for creating services. It shows how CRUD operations and transaction management works in SqlModelMapper.

Sample Project Structure

The sample contains a Class Library (.Net Core) project. This project uses SqlModelMapper from SnapObjects.Data, and is structured as follows.

|——Appeon.SnapObjectsDemo.Service.SqlServer Project implemented with SqlModelMapper
    |——Datacontext      	Includes the class that manages database connection to SQL Server
    |——Models          		Includes the model classes
    |——Services             Includes the service interfaces and implementations
Running the Project

Note that the Class Library project cannot run alone. You shall define a web project to call the classes and methods defined in the project, or download and run the SnapObjects-Asp.NetCore-Example project that reference to this Class Library project.

Currently, this project can only work with the SQL Server database.

About

This C# project from Appeon demonstrates how to create Web APIs that perform CRUD using the SnapObjects ORM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%