Invention Grant
- Patent Title: Object-relational mapped database initialization
- Patent Title (中): 对象关系映射数据库初始化
-
Application No.: US13179598Application Date: 2011-07-11
-
Publication No.: US08600925B2Publication Date: 2013-12-03
- Inventor: Arthur John Cerdic Vickers , Diego Bernardo Vega , Rowan Miller , Andrew John Peters
- Applicant: Arthur John Cerdic Vickers , Diego Bernardo Vega , Rowan Miller , Andrew John Peters
- Applicant Address: US WA Redmond
- Assignee: Microsoft Corporation
- Current Assignee: Microsoft Corporation
- Current Assignee Address: US WA Redmond
- Agency: Ogilvie Law Firm
- Main IPC: G06F17/00
- IPC: G06F17/00 ; G06N5/02

Abstract:
A balance is provided between automation of repetitive database creation and configuration efforts, on the one hand, and flexibility to depart from prior configurations, on the other hand, to assist developers with aspects of database initialization. An application domain includes data context instances, database connections, object models mapped by an object-relational mapper, and database initializers. Upon the first attempted runtime use of a particular database connection—data context instance—object model combination, a database initializer is invoked. Initializers may check to see if the database exists, (re)generate a database and schema based on the object model, determine whether the database is compatible with the current object model, delete the database and its schema, seed data, modify database indexes, and/or migrate an existing database, for example. A custom initializer can run developer-supplied code as desired to place the database in a known state for use by the application.
Public/Granted literature
- US20120331013A1 Object-Relational Mapped Database Initialization Public/Granted day:2012-12-27
Information query