Questions tagged [xpo]

XPO is a DevExpress ORM library for .NET.

100 questions
1
vote
2 answers

XAF. When I add a WinModificationsController for a single DetailView I can't save other DetailsViews

I'm starting a project with XAF and I have done a WinModificationsController for a single DetailsView, but seems that when I add that Controller I can't save DetailViews from other object, so the controller works for the class that is targeting but…
mrvinent
  • 115
  • 2
  • 16
1
vote
1 answer

DevExpress eXpressApp Framework and eXpress Persistent Objects : Sort column issue

I am not able to sort column for NonPersistent column. (DevExpress eXpressApp Framework (XAF) and eXpress Persistent Objects (XPO) ) Here my code [Association("PCs-Gs", typeof(Allotments))] public XPCollection PCs { get { return…
user2960398
  • 363
  • 4
  • 19
1
vote
2 answers

import and compile axapta 2009 xpo by commandline

i'm looking for a way to import an existing xpo-export via command-line into ax2009 aot and afterwards compile just this imported xpo. google tells me how to compile the whole aot by commandline, which takes quite long. so is there a way to import…
Nico
  • 75
  • 2
  • 12
1
vote
1 answer

Replace Devexpress XPO to Entity Framework

I am working on an ASP.NET MVC web application that was built with DevExpress 12.1 tools including DevExpress XPO. Due to licensing issue, I have task in which I want to remove Devexpress components entirely from that web application. After r&d, I…
Ajay2707
  • 5,690
  • 6
  • 40
  • 58
1
vote
2 answers

Devexpress lookup edit select one fill in rest lookups

I'm working on program which uses xpo collection to get and update data from and to database. I setted up lookupedit to get data from another database(country name) I would like another lookupedit (country code) to be filled in automatically after…
TaZz
  • 652
  • 7
  • 20
1
vote
1 answer

How to keep a single XPO across different versions?

I want to have one XPO, and have the same code work on AX4 and AX5. I am looking for a precompiler directive to check the version, sort of like: #if define AX4 thisCode(...) #else thatCode(...) #endif
esac
  • 24,099
  • 38
  • 122
  • 179
1
vote
1 answer

nested unit of work and making unwanted object

I have 3 forms in my application : frmTrucks, frmEditTruck and frmEditContent. frmTrucks shows my Trucks in a grid. I add a truck, or choose one of the trucks from the grid to edit in frmEditTruck public void Edit() { using…
mtf
  • 329
  • 2
  • 13
1
vote
1 answer

Cannot access a disposed object. with XPO

I'm trying to persist an XPObject. Here's my code: Administrateur adm = (Administrateur)GetUserByLogin("admin"); Client clt = (Client)GetUserByLogin("client"); using(var uow = new UnitOfWork()) { Calendrier cal =…
Fourat
  • 2,366
  • 4
  • 38
  • 53
1
vote
1 answer

DevExpress Xpo, OData and WCF

ok, so I've been struggling with XPO over WCF for several days now, and I can't seem to make any progress. I feel pretty new to WCF, even if I have used it in some Projects already. The (my) normal way I'm working with WCF is: Create a Service…
Namikon
  • 11
  • 2
1
vote
1 answer

Breeze navigation properties are not created in metadata

I am trying to communicate breeze.js with OData server (XPO based). In metadata xml which comes from server navigation properties are exists but they are not created for client types' metadata. Am I doing something wrong or is there a bug? Server…
Gökçer Gökdal
  • 950
  • 1
  • 11
  • 18
1
vote
1 answer

ASPxComboBox Filtering Large DataSet Using XpoDataSource (DevExpress)

I tried to Filter an ASPxComboBox that gets data using an XpoDataSource, note that restoring and filtering data from a small data set works fine , the issue start when I try to filter large dataset - about 70000 records- from datasource the ComboBox…
1
vote
2 answers

C# Devexpress and XPO How do I filter a listview

I have a Agency class that contains an xpcollection of Agent. There is a list of Agencies in the system. The Agent class contains a reference to the id of the Agency class. The Agent class derives from SecuritySystemUser and is used to log on to the…
Eminem
  • 7,206
  • 15
  • 53
  • 95
1
vote
1 answer

Serializing Xpo objects through WCF

Good evening/morning everyone, before posting this issue, i've been sending my objects with a traditional way from the client side ( aspx page ) to a WCF data service, the approch i've been using was to convert all attributes to a string and send…
Soufiane N
  • 113
  • 1
  • 11
1
vote
0 answers

Roles.IsUserInRole throwing a dataservicequeryexception

What i'm trying to do is to test if a role is affected to a user or not, the method (fig 1 ) which test is exposed with WCF Data Service, and i'm trying to call it (fig 2 ) from the client side. the call is correct because i tested a simple test…
Soufiane N
  • 113
  • 1
  • 11
1
vote
1 answer

XPcollection not loaded - why?

This must be something very simple, I just don't see it (and can not find the answer :( I am trying to learn DevExpress controls and have read that eXpress Persistent Objects is recommended for O/R mapping. 1) I have an existing SQL Server Compact…
Prokurors
  • 2,458
  • 3
  • 40
  • 65