Digging more through the Kephas Framework I noticed that Kephas.Data provides a functionality similar to that of classical ORMs. However, I did not find any kind of documentation about how to connect to databases or, at least, to clarify whether my assumption is correct or not.
1
There are 1 best solutions below
Related Questions in ORM
- SQL schema for a fill-in-the-blank exercise
- ERROR: column "country" is of type text[] but expression is of type record (SQLSTATE 42804)
- JPA Hibernate OneToOne Mapping
- query in objects with django orm with a containing sentence
- peewee: SQLite - peewee Create() is forcing integer in PrimaryKeyField if leading character is numeric (even if there is a non-numeric in the middle)
- PHP ORM DOCTRINE
- Error appending to array oOnConflictUpdaste using Drizzle ORM (Postgresql)
- Sequelize foreign key vs SQL how to implement it
- How do i work with a potentially nullable field in prisma ORM and MongoDB that references the id of another model?
- record doesn't exist error when creating a new record
- Several relationships in one model in Laravel
- SQLALCHEMY ORM - error when using variables both for column, value in WHERE
- How to exclude instances with empty querysets in prefetch_related?
- Optimize SqlAlchemy ORM DB models
- What are the best practices regarding SSR, Django and temprarly changed data?
Related Questions in KEPHAS
- I have to integrate ServiceStack together with Kephas. How do I make them both play together with Dependency Injection?
- How does Kephas integrate with ASP.NET Core?
- Cannot use constructors in open generic services with Kephas
- What is PreserveThreadContext() when calling async functions in Kephas?
- How is the DI relative to constructor and/or property injection solved in Kephas?
- Is Kephas.Data some kind of ORM?
- What is the difference between AmbientServices and CompositionContext in Kephas?
- The Kephas.Model package seems a bit heavy weight for my requirements of extensible metadata. Is there a lighter alternative?
- How can I register services in Kephas using a fluent API?
- Is there a possibility to specify a service metadata attribute to be applied to all services in Kephas?
- Is there a possibility to control the Expando class to not allow adding properties/members under certain conditions?
- How can I integrate my current logging infrastructure with Kephas?
- Am I forced into using the attributed service registration in Kephas?
- Kephas has its own dependecy injection container. Why another framework, why not use an existing one?
- How to provide a different strategy for loading application assemblies in Kephas bootstrapper
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
No, Kephas.Data is an abstraction over data persistence. It can be mapped over typical ORMs, or it can be bound directly to a persistance store, like MongoDB. Here are some starting points:
Use the
Query<TEntity>()method to query for entities, using LINQ to shape the data. However, you have to make sure that the underlying infrastructure understands the LINQ you use.Use
CreateEntityAsync<TEntity>() : TEntity,DeleteEntity(entity),FindAsync<TEntity>(id): TEntity,FindOneAsync<TEntity>(linq_expression)to create, delete, or find an entity.Use
PersistChangesAsync()to persist the changes in memory to the persistence store.A DataSpace can hold multiple DataContexts, each DataContext being responsible for a dedicated data store. The discrimination is done by entity type.
Each DataContext implementation is bound to the specific store. By default, Kephas provides the MongoDB adapter, an Entity Framework adapter being also planned.
A special feature is the integration of DataBehaviors, which are invoked upon data or query operations.
For more information please consult https://github.com/kephas-software/kephas/wiki/Architecture-of-data-access and the similar wiki pages.