■ The OracleDbType column refers to the Oracle data provider’s type enumeration. Generally, there is a one to one mapping between the native type and the OracleDbType.
■ The SSDL column refers to data types used by the store schema definition language (SSDL) file. The storage metadata schema is a formal description of the database that persists data for an application built on the EDM.
■ The EDM Simple Type column refers the method that must be used to access a column of this type when using a DataReader.
NUMBER(5<=p<=9,0) NUMBER(10<=p<=18,0)
Only supported on Oracle 10g and higher.
The maximum precision of the EDM DateTime simple type is milliseconds. Because the Oracle data type Date has no notion of milliseconds, round trip integrity cannot be be guaranteed.
Where p represents the precision.
Table 8-5 shows the mapping of EDM Simple Types to Oracle data types. The columns are defined as follows:
■ The EDM Simple Type column refers the method that must be used to access a column of this type when using a DataReader.
■ The SSDL column refers to data types used by the store schema definition language (SSDL) file. The storage metadata schema is a formal description of the database that persists data for an application built on the EDM.
Number(5<=p<=9,0) Number(10<=p<=18,0)
The ADO.NET Entity Framework translates the Entity Data Model (EDM) canonical functions to the corresponding data source functionality for the ADO.NET Oracle Entity data provider. The function invocations are expressed in a common form across data sources.Because these canonical functions are independent of data sources, argument and return types of canonical functions are defined in terms of types in the EDM. When an Entity SQL query uses canonical functions, the appropriate function is called at the data source.Both null-input behavior and error conditions are explicitly specified for all canonical functions. However, the ADO.NET Entity Framework does not enforce this behavior. Further details are available at:Table 8-6 describes the mapping of EDM aggregate canonical functions to Oracle functions.
Table 8-6. Mapping Aggregate Canonical Functions Avg(expression) avg(expression) BigCount(expression) count(expression) Count(expression) count(expression) Max(expression) max(expression) Min(expression) min(expression) StDev(expression) stdev_samp(expression) Sum(expression) sum(expression)Table 8-7 describes the mapping of EDM math canonical functions to Oracle functions.
Table 8-7. Mapping Math Canonical Functions Abs(value) abs(value) Ceiling(value) ceil(value) Floor(value) floor(value) Round(value) round(value, 0)Table 8-8 describes the mapping of EDM date and time canonical functions to Oracle functions.
Table 8-8. Mapping Date and Time Canonical Functions Year(expression) extract(YEAR from expression) Month(expression) extract(MONTH from expression) Day(expression) extract(DAY from expression) Hour(expression) extract(HOUR from expression) Minute(expression) extract(MINUTE from expression) Second(expression) extract(SECOND from expression) Millisecond(expression) tz_offset(SESSIONTIMEZONE) + current_date Table 8-9 describes the mapping of EDM bitwise canonical functions to Oracle functions.
Table 8-9. Mapping Bitwise Canonical Functions BitWiseNot (value) Table 8-10 describes the mapping of EDM string canonical functions to Oracle functions.
Table 8-10. Mapping String Canonical Functions Length(string) length(string) LTrim(string) ltrim(string) Trim(string) trim (BOTH FROM string) Reverse(string) RTrim(string) rtrim(string) Substring(string, start, length) ToLower(string) lower(string) ToUpper(string) upper(string)