Entity Framework

  • Updated

Integration with Entity Framework and Object Relational Mappers (ORMs)

Key Points

  • InRule entity schema is driven from .NET POCO objects written by hand or generated by coding tools
  • Rules can operate directly against Entity Framework entity types that can be passed directly back to a data context after rule operations are completed
  • Provides an efficient approach when rule application schemas must closely model database schemas- Entity Framework objects can be generated to match database table structures and then imported directly into rules
  • Use the .NET Data Context for the most efficient approach for loading and saving entity data
  • The Entity Framework default data operations can be overridden with stored procedures or custom SQL when the rule schema will not exactly match the data schema
  • InRule Execute SQL Query actions can be used to query record sets and populate entity collections
  • Any 1-to-Many relationships may be expressed using property types that implement IList, IList<T>, ICollection<T> or IEnumerable<T> interfaces

Using the Entity Framework to provide a schema and application data with rules that are stored in irCatalog


Was this article helpful?

0 out of 0 found this helpful



Please sign in to leave a comment.