I had a bug in an older version of Devart Dot Connect and you gave me an advice which was to make an upgrade to a newer version. After the upgrade, now I'm working on the version 7.0.25.0 and a new bug appeared.
In entity model / Oracle. The data model is not creating a custom class automatically for procedures after dragging them to the diagram as it used to do. Any hlep
Search found 10 matches
- Wed 23 Jan 2013 12:26
- Forum: dotConnect for Oracle
- Topic: A New bug in entity model/Oracle appeared after I made an upgrade
- Replies: 1
- Views: 882
- Mon 16 Jul 2012 09:33
- Forum: Entity Developer
- Topic: In VS 2008, adding a procedure to Entity Model causes adding all procedures in the package.
- Replies: 1
- Views: 1379
In VS 2008, adding a procedure to Entity Model causes adding all procedures in the package.
In Visual Studio 2008, When I update model from database and add a procedure from a package, all the procedures will be added to the entity modal which is not expected. Please tell me if there is any workaround.
- Mon 16 Jul 2012 09:26
- Forum: Entity Developer
- Topic: The Entity Model doesn't always generate a complex type for procedures
- Replies: 2
- Views: 1045
The Entity Model doesn't always generate a complex type for procedures
I have Entity Model version: 7.0.25.0. I'm facing a problem when adding a procedure that returns sys_refcursor, the Entity Model doesn't always generate a complex type.
This's the deceleration of my procedure:
Any help!
This's the deceleration of my procedure:
Code: Select all
procedure get_items (p_user_id in number, rec_out out sys_refcursor) ;
- Tue 26 Jun 2012 13:34
- Forum: dotConnect for Oracle
- Topic: How to implement lazy load feature with dot connect?
- Replies: 3
- Views: 1278
Re: How to implement lazy load feature with dot connect?
Thanks for the reply but my application is WPF xBap application so, I cannot use SQLDataSource.
- Tue 26 Jun 2012 11:52
- Forum: dotConnect for Oracle
- Topic: Exception: {"ORA-00904: \"TOLOWER\": invalid identifier"}
- Replies: 1
- Views: 2130
Exception: {"ORA-00904: \"TOLOWER\": invalid identifier"}
I'm using Oracle - Devart Entity Model version 6.10.103.0. Working with an Oracle engine version 10.2.0.4.
The following code gives a strange exception:
Exception:
An error occurred while executing the command definition. See the inner exception for details.
Inner Exception:
{"ORA-00904: \"TOLOWER\": invalid identifier"}
Any help?
The following code gives a strange exception:
Code: Select all
using (var entitie = new Gw7Model.Gw7Entities())
{
string username = "mohd";
var user = entitie.Employees.FirstOrDefault(p => p.Name.ToLower() == username);
}
An error occurred while executing the command definition. See the inner exception for details.
Inner Exception:
{"ORA-00904: \"TOLOWER\": invalid identifier"}
Any help?
- Mon 11 Jun 2012 09:47
- Forum: dotConnect for Oracle
- Topic: How to implement lazy load feature with dot connect?
- Replies: 3
- Views: 1278
How to implement lazy load feature with dot connect?
I'm using Devart - Dot Connect for Oracle. I'd like to implement lazy load feature in a Data Grid View. The records are retrieved from an Oracle procedure - refCursor, which returns a DataReader.
I wonder if you could help me with the standard way to implement this feature in Devart tools.
Regards,
Homam.
I wonder if you could help me with the standard way to implement this feature in Devart tools.
Regards,
Homam.
- Sat 07 Apr 2012 06:33
- Forum: dotConnect for Oracle
- Topic: Naming rules - FirstLetterUpercase doesn't work correctly
- Replies: 1
- Views: 907
Naming rules - FirstLetterUpercase doesn't work correctly
Naming rules - FirstLetterUpercase doesn't work correctly in Entity Model in the version: 6.30.160.0 After it was working well before the upgrade.
All the generated classes and their members are generated with full uppercase names.
Any idea?
All the generated classes and their members are generated with full uppercase names.
Any idea?
- Sun 20 Feb 2011 07:50
- Forum: dotConnect for Oracle
- Topic: LINQ Connect doesn't generate code for Function
- Replies: 1
- Views: 924
LINQ Connect doesn't generate code for Function
Hi, I have an already LINQ Connect modal (Oracle) from previous version (5.*), and now I updated the library to the latest version.
When I create a new LINQ connect item, everything is OK. but when I try to add a new Function with a Complex Type to an already LINQ Connect modal, it doesn't generate code for this function and add it only in the dbml file!
I wonder if you could find this problem and tell me what should I do to solve it.
Regards,
Homam.
When I create a new LINQ connect item, everything is OK. but when I try to add a new Function with a Complex Type to an already LINQ Connect modal, it doesn't generate code for this function and add it only in the dbml file!
I wonder if you could find this problem and tell me what should I do to solve it.
Regards,
Homam.
- Mon 14 Feb 2011 14:21
- Forum: dotConnect for Oracle
- Topic: distributed transaction already begun ORA 02046 - using Link
- Replies: 3
- Views: 7114
- Sun 13 Feb 2011 13:57
- Forum: dotConnect for Oracle
- Topic: distributed transaction already begun ORA 02046 - using Link
- Replies: 3
- Views: 7114
distributed transaction already begun ORA 02046 - using Link
Hi,
I have a very big problem for me appears with a few steps
* Select on the following view in Oracle
The link is to Oracle database (eveything is Oracle)
* Using Entity MODAL (Oracle)
That's all,
When I open the page the following exception will be shown (from the first time or after a postBack)
Stack trace:
Any help!
I have a very big problem for me appears with a few steps
* Select on the following view in Oracle
Code: Select all
create or replace view Test_View as
select "ID","USR"
from Test_Table@link_DB;
* Using Entity MODAL (Oracle)
That's all,
When I open the page the following exception will be shown (from the first time or after a postBack)
Code: Select all
distributed transaction already begun "ORA 02046 "
Code: Select all
at System.Data.EntityClient.EntityCommandDefinition.ExecuteStoreCommands(EntityCommand entityCommand, CommandBehavior behavior)
at System.Data.Objects.Internal.ObjectQueryExecutionPlan.Execute[TResultType](ObjectContext context, ObjectParameterCollection parameterValues)
at System.Data.Objects.ObjectQuery`1.GetResults(Nullable`1 forMergeOption)
at System.Data.Objects.ObjectQuery`1.System.Collections.Generic.IEnumerable.GetEnumerator()
at System.Linq.Enumerable.Single[TSource](IEnumerable`1 source)
at System.Data.Objects.ELinq.ObjectQueryProvider.b__2[TResult](IEnumerable`1 sequence)
at System.Data.Objects.ELinq.ObjectQueryProvider.ExecuteSingle[TResult](IEnumerable`1 query, Expression queryRoot)
at System.Data.Objects.ELinq.ObjectQueryProvider.System.Linq.IQueryProvider.Execute[S](Expression expression)
at System.Linq.Queryable.Count[TSource](IQueryable`1 source)
at WebApplication3._Default.Button1_Click1(Object sender, EventArgs e) in D:\FutureGate\Workflow Solution\WebApplication3\WebApplication3\Default.aspx.cs:line 29
at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument)
at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)