C# 클래스 Acme.Northwind.EFDAL.NorthwindEntities

상속: System.Data.Objects.ObjectContext, Acme.Northwind.EFDAL.Interfaces.INorthwindEntities, nHydrate.EFCore.DataAccess.IContext
파일 보기 프로젝트 열기: nHydrate/nHydrate 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_alphabeticallistofproducts System.Data.Objects.ObjectSet
_category System.Data.Objects.ObjectSet
_categorysalesfor1997 System.Data.Objects.ObjectSet
_contextStartup ContextStartup
_currentproductlist System.Data.Objects.ObjectSet
_customer System.Data.Objects.ObjectSet
_customerandsuppliersbycity System.Data.Objects.ObjectSet
_customercustomerdemo System.Data.Objects.ObjectSet
_customerdemographic System.Data.Objects.ObjectSet
_employee System.Data.Objects.ObjectSet
_employeeterritorie System.Data.Objects.ObjectSet
_invoices System.Data.Objects.ObjectSet
_order System.Data.Objects.ObjectSet
_orderdetail System.Data.Objects.ObjectSet
_orderdetailsextended System.Data.Objects.ObjectSet
_ordersqry System.Data.Objects.ObjectSet
_ordersubtotals System.Data.Objects.ObjectSet
_product System.Data.Objects.ObjectSet
_productsaboveaverageprice System.Data.Objects.ObjectSet
_productsalesfor1997 System.Data.Objects.ObjectSet
_productsbycategory System.Data.Objects.ObjectSet
_quarterlyorders System.Data.Objects.ObjectSet
_region System.Data.Objects.ObjectSet
_salesbycategory System.Data.Objects.ObjectSet
_salestotalsbyamount System.Data.Objects.ObjectSet
_shipper System.Data.Objects.ObjectSet
_summaryofsalesbyquarter System.Data.Objects.ObjectSet
_summaryofsalesbyyear System.Data.Objects.ObjectSet
_supplier System.Data.Objects.ObjectSet
_territory System.Data.Objects.ObjectSet

Private Properties

프로퍼티 타입 설명
AddObject void
DeleteObject void
GetConnString string
GetConnectionString string
GetDatabaseExtendedProperty string
OnContextCreated void
SelectExtendedProperty string
nHydrate System.Enum
nHydrate System.Type
nHydrate object

공개 메소드들

메소드 설명
AddItem ( Acme entity ) : void

Adds an entity of type 'Category' to the object context

CategorizedSales ( string categoryname, string ordyear ) : IEnumerable

CustOrderHist ( string customerid ) : IEnumerable

CustOrdersDetail ( int orderid ) : IEnumerable

CustOrdersOrders ( string customerid ) : IEnumerable

DeleteItem ( Acme entity ) : void

Deletes an entity of type 'Category'

EmployeeSalesbyCountry ( System.DateTime beginningDate, System.DateTime endingDate ) : IEnumerable

GetEntityFromField ( Enum field ) : EntityMappingConstants

Determines the entity from one of its fields

GetMetaData ( Acme table ) : Acme.Northwind.EFDAL.Interfaces.IMetadata

Gets the meta data object for an entity

GetNextSequntialGuid ( EntityMappingConstants entity, string key ) : System.Guid

IsValidConnection ( ) : bool

Determines if the API matches the database connection

IsValidConnection ( bool checkVersion ) : bool

Determines if the API matches the database connection

NorthwindEntities ( ) : System

Initializes a new NorthwindEntities object using the connection string found in the 'NorthwindEntities' section of the application configuration file.

NorthwindEntities ( ContextStartup contextStartup ) : System

Initialize a new NorthwindEntities object with an audit modifier.

NorthwindEntities ( ContextStartup contextStartup, string connectionString ) : System

Initialize a new NorthwindEntities object with an audit modifier.

NorthwindEntities ( System connection ) : System

Initialize a new NorthwindEntities object.

NorthwindEntities ( string connectionString ) : System

Initialize a new NorthwindEntities object.

ResetSequentialGuid ( EntityMappingConstants entity, string key, System.Guid seed ) : void

SalesbyYear ( System.DateTime beginningDate, System.DateTime endingDate ) : IEnumerable

SaveChanges ( SaveOptions options ) : int

Persists all updates to the data source and resets change tracking in the object context.

TenMostExpensiveProducts ( ) : IEnumerable

보호된 메소드들

메소드 설명
Acme ( Acme entity ) : void

Deletes an entity of type 'Category'

비공개 메소드들

메소드 설명
AddObject ( string entitySetName, object entity ) : void
DeleteObject ( object entity ) : void
GetConnString ( ) : string
GetConnectionString ( ) : string
GetDatabaseExtendedProperty ( string connectionString, string propertyName ) : string
OnContextCreated ( ) : void
SelectExtendedProperty ( string connectionString, string property, string user, string table, string parameter ) : string
nHydrate ( Enum field ) : Enum
nHydrate ( Enum field ) : Type
nHydrate ( Enum entity ) : object

메소드 상세

Acme() 보호된 메소드

Deletes an entity of type 'Category'
protected Acme ( Acme entity ) : void
entity Acme The entity to delete
리턴 void

AddItem() 공개 메소드

Adds an entity of type 'Category' to the object context
public AddItem ( Acme entity ) : void
entity Acme The entity to add
리턴 void

CategorizedSales() 공개 메소드

public CategorizedSales ( string categoryname, string ordyear ) : IEnumerable
categoryname string
ordyear string
리턴 IEnumerable

CustOrderHist() 공개 메소드

public CustOrderHist ( string customerid ) : IEnumerable
customerid string
리턴 IEnumerable

CustOrdersDetail() 공개 메소드

public CustOrdersDetail ( int orderid ) : IEnumerable
orderid int
리턴 IEnumerable

CustOrdersOrders() 공개 메소드

public CustOrdersOrders ( string customerid ) : IEnumerable
customerid string
리턴 IEnumerable

DeleteItem() 공개 메소드

Deletes an entity of type 'Category'
public DeleteItem ( Acme entity ) : void
entity Acme The entity to delete
리턴 void

EmployeeSalesbyCountry() 공개 메소드

public EmployeeSalesbyCountry ( System.DateTime beginningDate, System.DateTime endingDate ) : IEnumerable
beginningDate System.DateTime
endingDate System.DateTime
리턴 IEnumerable

GetEntityFromField() 공개 정적인 메소드

Determines the entity from one of its fields
public static GetEntityFromField ( Enum field ) : EntityMappingConstants
field System.Enum
리턴 EntityMappingConstants

GetMetaData() 공개 정적인 메소드

Gets the meta data object for an entity
public static GetMetaData ( Acme table ) : Acme.Northwind.EFDAL.Interfaces.IMetadata
table Acme
리턴 Acme.Northwind.EFDAL.Interfaces.IMetadata

GetNextSequntialGuid() 공개 정적인 메소드

public static GetNextSequntialGuid ( EntityMappingConstants entity, string key ) : System.Guid
entity EntityMappingConstants
key string
리턴 System.Guid

IsValidConnection() 공개 메소드

Determines if the API matches the database connection
public IsValidConnection ( ) : bool
리턴 bool

IsValidConnection() 공개 메소드

Determines if the API matches the database connection
public IsValidConnection ( bool checkVersion ) : bool
checkVersion bool Determines if the check also includes the exact version of the model
리턴 bool

NorthwindEntities() 공개 메소드

Initializes a new NorthwindEntities object using the connection string found in the 'NorthwindEntities' section of the application configuration file.
public NorthwindEntities ( ) : System
리턴 System

NorthwindEntities() 공개 메소드

Initialize a new NorthwindEntities object with an audit modifier.
public NorthwindEntities ( ContextStartup contextStartup ) : System
contextStartup ContextStartup
리턴 System

NorthwindEntities() 공개 메소드

Initialize a new NorthwindEntities object with an audit modifier.
public NorthwindEntities ( ContextStartup contextStartup, string connectionString ) : System
contextStartup ContextStartup
connectionString string
리턴 System

NorthwindEntities() 공개 메소드

Initialize a new NorthwindEntities object.
public NorthwindEntities ( System connection ) : System
connection System
리턴 System

NorthwindEntities() 공개 메소드

Initialize a new NorthwindEntities object.
public NorthwindEntities ( string connectionString ) : System
connectionString string
리턴 System

ResetSequentialGuid() 공개 정적인 메소드

public static ResetSequentialGuid ( EntityMappingConstants entity, string key, System.Guid seed ) : void
entity EntityMappingConstants
key string
seed System.Guid
리턴 void

SalesbyYear() 공개 메소드

public SalesbyYear ( System.DateTime beginningDate, System.DateTime endingDate ) : IEnumerable
beginningDate System.DateTime
endingDate System.DateTime
리턴 IEnumerable

SaveChanges() 공개 메소드

Persists all updates to the data source and resets change tracking in the object context.
public SaveChanges ( SaveOptions options ) : int
options SaveOptions
리턴 int

TenMostExpensiveProducts() 공개 메소드

public TenMostExpensiveProducts ( ) : IEnumerable
리턴 IEnumerable

프로퍼티 상세

_alphabeticallistofproducts 보호되어 있는 프로퍼티

The internal reference variable for the 'Alphabeticallistofproducts' object set
protected System.Data.Objects.ObjectSet _alphabeticallistofproducts
리턴 System.Data.Objects.ObjectSet

_category 보호되어 있는 프로퍼티

The internal reference variable for the 'Category' object set
protected System.Data.Objects.ObjectSet _category
리턴 System.Data.Objects.ObjectSet

_categorysalesfor1997 보호되어 있는 프로퍼티

The internal reference variable for the 'CategorySalesfor1997' object set
protected System.Data.Objects.ObjectSet _categorysalesfor1997
리턴 System.Data.Objects.ObjectSet

_contextStartup 보호되어 있는 프로퍼티

The audit modifier used to mark database edits
protected ContextStartup,Acme.Northwind.EFDAL _contextStartup
리턴 ContextStartup

_currentproductlist 보호되어 있는 프로퍼티

The internal reference variable for the 'CurrentProductList' object set
protected System.Data.Objects.ObjectSet _currentproductlist
리턴 System.Data.Objects.ObjectSet

_customer 보호되어 있는 프로퍼티

The internal reference variable for the 'Customer' object set
protected System.Data.Objects.ObjectSet _customer
리턴 System.Data.Objects.ObjectSet

_customerandsuppliersbycity 보호되어 있는 프로퍼티

The internal reference variable for the 'CustomerandSuppliersbyCity' object set
protected System.Data.Objects.ObjectSet _customerandsuppliersbycity
리턴 System.Data.Objects.ObjectSet

_customercustomerdemo 보호되어 있는 프로퍼티

The internal reference variable for the 'CustomerCustomerDemo' object set
protected System.Data.Objects.ObjectSet _customercustomerdemo
리턴 System.Data.Objects.ObjectSet

_customerdemographic 보호되어 있는 프로퍼티

The internal reference variable for the 'CustomerDemographic' object set
protected System.Data.Objects.ObjectSet _customerdemographic
리턴 System.Data.Objects.ObjectSet

_employee 보호되어 있는 프로퍼티

The internal reference variable for the 'Employee' object set
protected System.Data.Objects.ObjectSet _employee
리턴 System.Data.Objects.ObjectSet

_employeeterritorie 보호되어 있는 프로퍼티

The internal reference variable for the 'EmployeeTerritorie' object set
protected System.Data.Objects.ObjectSet _employeeterritorie
리턴 System.Data.Objects.ObjectSet

_invoices 보호되어 있는 프로퍼티

The internal reference variable for the 'Invoices' object set
protected System.Data.Objects.ObjectSet _invoices
리턴 System.Data.Objects.ObjectSet

_order 보호되어 있는 프로퍼티

The internal reference variable for the 'Order' object set
protected System.Data.Objects.ObjectSet _order
리턴 System.Data.Objects.ObjectSet

_orderdetail 보호되어 있는 프로퍼티

The internal reference variable for the 'OrderDetail' object set
protected System.Data.Objects.ObjectSet _orderdetail
리턴 System.Data.Objects.ObjectSet

_orderdetailsextended 보호되어 있는 프로퍼티

The internal reference variable for the 'OrderDetailsExtended' object set
protected System.Data.Objects.ObjectSet _orderdetailsextended
리턴 System.Data.Objects.ObjectSet

_ordersqry 보호되어 있는 프로퍼티

The internal reference variable for the 'OrdersQry' object set
protected System.Data.Objects.ObjectSet _ordersqry
리턴 System.Data.Objects.ObjectSet

_ordersubtotals 보호되어 있는 프로퍼티

The internal reference variable for the 'OrderSubtotals' object set
protected System.Data.Objects.ObjectSet _ordersubtotals
리턴 System.Data.Objects.ObjectSet

_product 보호되어 있는 프로퍼티

The internal reference variable for the 'Product' object set
protected System.Data.Objects.ObjectSet _product
리턴 System.Data.Objects.ObjectSet

_productsaboveaverageprice 보호되어 있는 프로퍼티

The internal reference variable for the 'ProductsAboveAveragePrice' object set
protected System.Data.Objects.ObjectSet _productsaboveaverageprice
리턴 System.Data.Objects.ObjectSet

_productsalesfor1997 보호되어 있는 프로퍼티

The internal reference variable for the 'ProductSalesfor1997' object set
protected System.Data.Objects.ObjectSet _productsalesfor1997
리턴 System.Data.Objects.ObjectSet

_productsbycategory 보호되어 있는 프로퍼티

The internal reference variable for the 'ProductsbyCategory' object set
protected System.Data.Objects.ObjectSet _productsbycategory
리턴 System.Data.Objects.ObjectSet

_quarterlyorders 보호되어 있는 프로퍼티

The internal reference variable for the 'QuarterlyOrders' object set
protected System.Data.Objects.ObjectSet _quarterlyorders
리턴 System.Data.Objects.ObjectSet

_region 보호되어 있는 프로퍼티

The internal reference variable for the 'Region' object set
protected System.Data.Objects.ObjectSet _region
리턴 System.Data.Objects.ObjectSet

_salesbycategory 보호되어 있는 프로퍼티

The internal reference variable for the 'SalesbyCategory' object set
protected System.Data.Objects.ObjectSet _salesbycategory
리턴 System.Data.Objects.ObjectSet

_salestotalsbyamount 보호되어 있는 프로퍼티

The internal reference variable for the 'SalesTotalsbyAmount' object set
protected System.Data.Objects.ObjectSet _salestotalsbyamount
리턴 System.Data.Objects.ObjectSet

_shipper 보호되어 있는 프로퍼티

The internal reference variable for the 'Shipper' object set
protected System.Data.Objects.ObjectSet _shipper
리턴 System.Data.Objects.ObjectSet

_summaryofsalesbyquarter 보호되어 있는 프로퍼티

The internal reference variable for the 'SummaryofSalesbyQuarter' object set
protected System.Data.Objects.ObjectSet _summaryofsalesbyquarter
리턴 System.Data.Objects.ObjectSet

_summaryofsalesbyyear 보호되어 있는 프로퍼티

The internal reference variable for the 'SummaryofSalesbyYear' object set
protected System.Data.Objects.ObjectSet _summaryofsalesbyyear
리턴 System.Data.Objects.ObjectSet

_supplier 보호되어 있는 프로퍼티

The internal reference variable for the 'Supplier' object set
protected System.Data.Objects.ObjectSet _supplier
리턴 System.Data.Objects.ObjectSet

_territory 보호되어 있는 프로퍼티

The internal reference variable for the 'Territory' object set
protected System.Data.Objects.ObjectSet _territory
리턴 System.Data.Objects.ObjectSet