Questions tagged [devforce]
DevForce is a framework for building and operating Rich Internet Applications (RIAs).
171
questions
1
vote
0
answers
16
views
DevForce Classic 3.8.19 (Support for Visual Studio 2022) download link missing
There are release notes for DevForce Classic 3.8.19 (Support for Visual Studio 2022) but the download link is missing from the downloads page.
1
vote
0
answers
50
views
Authenticator.Instance.Login with sessionKey keeps faulting after first error for all clients
We have a client-server application that in some cases needs to execute a server side service without having a client EntityManager. The client application passes a valid sessionKey to the server ...
0
votes
1
answer
76
views
Ideablade DevForce ORM 3.8.13 is not compatible with Devexpress 18.1.13
we are struggling with the Bug "XtraReports v18.1.3: problems with new FilterString Editor". I saw that the problem was solved with the Devexpress Version 18.1.13. We are currently using Devexpress ...
1
vote
1
answer
150
views
EF Lazy load proxy interceptor
I'm looking for a way to intercept Entity Framework's lazy load proxy implementation, or otherwise control what is returned when accessing a Navigation property that may have no value in the database. ...
1
vote
0
answers
48
views
Using pre-generated views with DevForce EDMX
I am using Entity Framework Tools 6 to pre-generate views for my EDMX model. Everything looks great and compiles, however I don't see actual difference. Breakpoints anywhere in views file doesn't get ...
1
vote
0
answers
34
views
Are threads reused between requests on server methods?
We have a server method where we enforce the Thread.CurrentThread.CurrentCulture according to the language of the user to ensure that the returned values will be properly translated.
However we are ...
1
vote
0
answers
82
views
Devforce Code First - .ibmmx Not Generating
After upgrading to Visual studio 2017 and Devforce 7.5.1, my application is no longer re-generating the .ibmmx file. Strangely, the .ibmmx re-generates correctly on my home PC but not on my work ...
1
vote
1
answer
96
views
Can I connect IdeaBlade to two similar DataSources but use the same model
In my current project I'm trying to have a local copy of the remote database stored on the user's computer so in the event that a customer loses internet, they still have access to their data and can ...
0
votes
1
answer
77
views
Exception when using DevForce in a FIPS-compliant environment
We have some customers that want to run our software (which uses DevForce) with Windows in "FIPS Mode". It seems like most of the encryption done by DevForce is FIPS-compliant by default but we've ...
0
votes
1
answer
39
views
How can I get the page count of a PagedRdbQuery
I'm trying to get the max page count of a paged query so if I were to page data out on a form, say there's 300 data items and each page shows 100, then there's 3 pages, but in this case I don't know ...
1
vote
1
answer
45
views
Unit testing DevForce EntityManager.InvokeServerMethod
In a WPF application I have a view model that retrieves data from the server using a DevForce Entity Manager InvokeServerMethod call. I would like to unit test by view model.
Using Moq, I mocked the ...
0
votes
1
answer
63
views
Entity list by parent entity and dotted paths
I'm using Angular 5 + Breeze JS + breeze-bridge2-angular.
Suppose we have a Company entity that have multiple navigation properties of type Address and Address entity type, in its own turn, has some ...
0
votes
1
answer
60
views
How do I get Punch (Cocktail) to hoot into Visual Studio's internal Composition Container?
I am trying to use DevForce's Punch in my Visual Studio 2017 Extensibility (VSIX) application. The MEF Exports of my VSIX are NOT being recognized. It seems becuase VS uses it's own composition ...
0
votes
1
answer
42
views
DevForce navigation Property Issue
We are currently re-writing our application and we have hundreds of tables and each of them has a CreatedById and ModifiedById and each of these has a foreign key to our users table, around 411 FKey / ...
1
vote
0
answers
50
views
Unable to find changed User Defined Columns at runtime with IdeaBlade
I was following the IdeaBlade instructional unit for User Defined Columns, I have created the following method:
public static IEnumerable<DataColumn> GetUnknownColumns(PersistenceManager ...
0
votes
1
answer
44
views
Multi-result Stored Procedure
i am using Devforce 2012, i have a need to return a multi-result set from a stored procedure to bind to a report (related entities or DataSet). Can this be done in DF 2012?
I have added the stored ...
0
votes
1
answer
48
views
Devforce code-first with Mysql
I have been trying to experiment Devforce code-first with MySql. But am not able to find any resources explaining how to do it. Even am not able to find whether DevForce code-first supports MySql or ...
1
vote
1
answer
119
views
.NET Framework 4.7 support?
I would like to leverage some new features in .NET 4.7 (like built-in support for Value Tuples).
However, after changing the target framework to 4.7 in my model project, when I update my model I see ...
1
vote
1
answer
44
views
Ordinal sequence of entities in devForce
For my entitymodel i'm using devforce to create this.
The problem i now have is the sequence(ordinal) of the properties of each entity is not how they should be.
In the XML version of the edmx file ...
1
vote
0
answers
27
views
How to stop DevForce blocking UI when importing from an EntityManager
The design of our application requires us to have separate EntityManagers for each module within the system. To ease the communication burden with the server for common data we have implemented a ...
0
votes
1
answer
84
views
DevForce Classic query timeout
We are having issues with our DevForce Classic application timing out on queries. We keep getting the error "the request was aborted". The closest match to the problem we are having if described on ...
0
votes
1
answer
33
views
DevForce Classic Implementing a custom TraceSubscriber
I am attempting to implement a custom log publisher in Devforce Classic. What I would like to do is redirect everything written to the Client and Server debug logs to a log publisher implementing NLOG....
0
votes
1
answer
31
views
Client Side Partial For DevForce Entity cannot see Properties exposed in the models partial
I am currently facing an issue where I am trying to make a WPF Client Side Partial of one of our Model First DevForce entities. The issue is that the partial in the WPF client does not seem to have ...
1
vote
1
answer
154
views
How can I avoid this deadlock in DevForce when using interceptors
We have recently started taking our business logic that relies heavily on DevForce and exposing it over a web API. We have been very careful to avoid threading issues by ensuring each request has its ...
0
votes
1
answer
28
views
DevForce Validation returning Ok for navigation properties that have not been set
I have been working on validatin for our entities in DevForce and I have managed to get everything I need working aside from validating Navigation Properties.
I have tried placing a ...
0
votes
2
answers
52
views
How to deploy and devforce entityserver as console application with topshelf
We want to run our wpf client application in 3-tier mode using the entitymanager console with topshelf to test and run the entityserver locally.
We can find only documentation using the provided ...
0
votes
2
answers
366
views
How to access the EntityManager that the NamedQuery is running on for a POCO class in DevForce
I am writing a POCO class in a DevForce based application that has a number of Named Queries and I cannot figure out how to access the Entity Manager from inside the Named Query.
I have placed ...
0
votes
1
answer
26
views
DevForce Initial Validation
We have just started working on a project using DevForce and one of the things we wish to do is highlight which fields are required to the user on creating a new record.
The issue we are running in ...
0
votes
1
answer
63
views
Ideablade and RemoveEntity
I have a problem. I click Add in my app and i grab the next id number and create an object using that id number as the key. If the user changes their mind, they click Discard. I remove the entity from ...
0
votes
1
answer
49
views
Getting started (again) with DevForce
Getting started again after some years of inactivity.
Is there a sample, or documentation to get started with DevForce 2012 Windows Store Apps?
Thanks
0
votes
1
answer
214
views
Error when use custom tool on edmx.tt
I am trying to compile code for my company legency program, it uses DevForce 2010 and i use a clean computer with win7 and VS2015 to complile the project
During compiling, i hit an error when trying ...
0
votes
0
answers
58
views
How to work with recursive/re-entrant Property Interceptors in DevForce
Back in 2012, I ran into issues with Property Interceptors that were recursive (that is, they trigger the interceptor on the same property but of a difference instance). It seems DevForce will ignore ...
1
vote
0
answers
40
views
IdeaBlade - Unable to initialize EntityManager. Could not find a part of the path c:\xxx\bin;64bit
Am trying to run my webapi application on IISExpress 64 bit. (because my application runs on 64 bit). When i run it i ended up with the below error.
Unable to initialize EntityManager. Could not ...
1
vote
0
answers
45
views
DevForce - Issue with IKnownType in case of inheritance
Devforce 7.4.0.0.
We have a DLL which is shared between the server and client. The goal is to make a server method which will return a list of some custom (serializable) objects.
So I declared this ...
0
votes
1
answer
51
views
What differences exist in DevForce between Silverlight and non-Silverlight platforms?
We recently hit a bug in our code that was caused by a subtle difference in how DevForce behaves under Silverlight compared to non-Silverlight environments. We found out the hard way that when ...
1
vote
1
answer
55
views
Retrieve a "IsClient=false" EntityManager for unit testing
We would like to perform unit testing of some server-side components that are performing named queries, these components constructors receive an EntityManager.
Our unit testing framework is based ...
0
votes
1
answer
366
views
How to change schema name on runtime for EntityManager
Our application connects to oracle.
It should change schema name on runtime, otherwise it causes exception to connect to different schema.
Current solution is to remove Schema="XXX" in edmx file ...
1
vote
1
answer
54
views
Problems with DevForce queries within a checked context
We are in the process of switching over our codebase to have the Check for arithmetic overflow/underflow option turned on by default and we've run into problems with our DevForce queries.
I'm able to ...
2
votes
1
answer
35
views
DevForce 2012 Punch Cocktail Repository Query with Selector to Search for Max Result
I am Trying to Query a Table for a Max Value (long) with some parameters, trying to use the Punch Framework.
Here is the original LINQ Query:
Table.Where(x=>x.GroupId == 1).Max(x=>x.LongValue)...
1
vote
2
answers
88
views
Why does EntityAspect.RemoveFromManager not remove completely?
I am using Silverlight 4 and DevForce 6.1.11.0
I have some POCO classes that implement EntityAspect.
I use WebClient to get these entities from different devices. These devices do not have a ...
1
vote
1
answer
84
views
How to get table/field name in IdeaBlade 2012?
We are using IdeaBlade 2012 latest build in our project, in our helper function, it shows "table name"."field name" and user can add comments and save them in one table.
In EF, it can get dbContext....
0
votes
1
answer
187
views
Ideablade's Cocktail Composition Container for WCF projects
I recently upgraded an application I am working on from Cocktail 1.4 to Cocktail 2.6 (Punch). I have adjusted my bootstrapper class for the wpf project which now loads with no issues. However, on my ...
0
votes
1
answer
107
views
Building a dynamic IdeaBlade connection string using EntityConnectionStringBuilder
ok rather than fighting with xml i was directed to the EntityConnectionStringBuilder. So here is what i have so far. The EnityManagerFactory calls the Create Method. Now the Create method creates and ...
3
votes
1
answer
415
views
Thousands of duplicate strings in DevForce taking up memory
After doing memory profiling recently with dotMemory, we discovered that there were over a hundred thousand duplicate strings in memory amounting to over 40 MB. As a data-heavy app we are looking to ...
0
votes
0
answers
86
views
Multiplicity constraint violated and cleaning deleted entities
Not sure of this issue EF specific or it's issue with Devforce entity manager.
Unfortunately will be hard to provide code to duplicate, but here is quick description and solution..
The way our ...
1
vote
1
answer
51
views
DevForce 2010 Top n query
I'm wanting to remove duplicate records from a table that has over 2 million rows. I have an IEntityQuery that does the grouping and counting and returning where count() > 1. The problem is this ...
0
votes
1
answer
41
views
DevForce 2010 Formatting Dates for EntityQuery
I've run into a situation where I need to query by Date and Time. I'm trying to write an EntityQuery where the date and time are in the same format. The query below returns no rows. However if I ...
0
votes
0
answers
50
views
DevForce Named query issue with includes on entities with inheritance
We observed an issue with a named query that is performing several includes on properties that are entities sharing the same base entity. As a picture is clearer, I made a simplified view of our model ...
1
vote
1
answer
56
views
DevForce doesn't always fire Queued Events if they are queued during a call to FireQueuedEvents
We are running into cases where we change a property on our entity but the PropertyChanged event doesn't fire. We are doing this logic as part of a Save and so the problem seems to be the way ...
0
votes
1
answer
39
views
Moving whole entity graph in DevForce
I have following scenario. 2 different Entity managers and needed graph loaded in one Entity manager. I'm working with another instance of entity manager and need those entities moved. I know about ...