Questions tagged [xpo]

XPO is a DevExpress ORM library for .NET.

100 questions
2
votes
1 answer

devexpress CheckedComboBoxEdit.DataBindings connect to xpcollection

I'm trying to connect xpcollection, below is xpcollection code I'm using: Private Agent As New XPCollection(Of clAgent)(UOW) I would like data from this collection to be visible in CheckedComboBoxEdit, I think it should be DataBindings, however…
TaZz
  • 652
  • 7
  • 20
2
votes
2 answers

How are relationships organized in devExpress XAF

I just can't understand all this [Association] stuff even after reading online documentation. I have this database How can I make one-to-one relationship in devExpress XAF (c#)? For example, Очередь-ServId to Услуги - Id? What shall I add? This is…
anindis
  • 714
  • 2
  • 11
  • 20
2
votes
2 answers

Devexpress XAF class property datasource filtering

i declared a class something like this [DefaultClassOptions] public class Test:XPObject { Type _classType; [NonPersistent] public Type ClassType { get { return _classType; } set { SetPropertyValue("ClassType", ref…
Onur
  • 852
  • 9
  • 18
1
vote
3 answers

DevExpress XPO or Telerik OpenAccess

I'm going to start a mid-sized project and planning to use a good ORM product. I'm going to use a code first approach. I tried Entity framework, OpenAccess and XPO. I think we're going to buy XPO or OpenAccess. Do you have any suggestions about…
leitmotif
  • 23
  • 7
1
vote
0 answers

How to diagnose a unmanaged memory leak in a .NET application

Here is a image of a profile session of a .NET Framework 4.6.2 WinForms Application that is build on DevExpress XAF and uses XPO as ORM. I'm faced with a memory leak that seems to be residing in unmanaged memory. In this image you can see that the…
Jacob de Boer
  • 479
  • 6
  • 12
1
vote
1 answer

DevExpress XPO Table Extend and common column persistent

I am developing an Application using DevExpress XPO which has PostgreSQL database. I have a class OrderBase and and another class OrderDetails which extends OrderBase. OrderBase has a column modified_at which is capturing the last modification data…
Stavros Koureas
  • 1,126
  • 12
  • 34
1
vote
1 answer

What Nuget Package do I need for WinApplication.GetSecurityStrategy().RegisterXPOAdapterProviders();?

I created a new Winforms Xaf Xpo standard security project with 21.2/5 Then I changed the framework of each project to be 4.7.2 Then I ran the upgrade wizard. Then I tried to convert the project files to use Nuget with Package References. However I…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
1
vote
2 answers

Create correct Criteria Operator

Trying to create a Criteria.Parse operator when I have to convert the string field to an Int. Operation fails at the follwing: Message=Parser error at line 0, character 15: syntax error; ("Convert.ToInt16{FAILED HERE}(awayML)>130") Here is my…
Trey Balut
  • 1,355
  • 3
  • 19
  • 39
1
vote
1 answer

DevExpress XAF Cascading Lookup List Views

I have created DevExpress XAF Blazor application. I have four tables(pages) The first one is Category related by a one-to-many with AssignedContractorCategory table -oid string -Title string private string _Title; public string Title { get {…
M.Bouabdallah
  • 530
  • 10
  • 29
1
vote
1 answer

How to make XPO one-to-one relationship with a simple code?

Shortly, Here's a code. It doesn't work. I try to insert property with same key in both table. DevExpress tickets doesn't resolve it also First Ticket and Second Ticket See First Ticket link. see last reply. That what I do here. not…
deveton
  • 291
  • 4
  • 26
1
vote
3 answers

How to create one to one relationship in DevExpress XPO classes?

Shortly, Here's a schema User Table Category Table A user have a categoryID All I need to populate a GridControl with User_ID, CategoryID, CategoryName Note that CategoryName is only belongs to second table (Category Table) What I do Is: Create…
deveton
  • 291
  • 4
  • 26
1
vote
0 answers

How do I have to use Devexpress XPO in PRISM modular application?

I'm working on a project with 20+ Modules with the following Technics: WPF 4.0 , PRISM 4 , Unity 2.0 , MVVM Light , and Devexpress XPO as and ORM I have no idea how to plane to use a XPO Session in my modules? I have faced the following items but…
Ehsan Zargar Ershadi
  • 24,115
  • 17
  • 65
  • 95
1
vote
0 answers

Map DTO to Base Model with protected constructor

All my model classes have one public constructor that takes a session / unit of work object (required by the ORM I am using). However, they also inherit from a common base class XPObject with a protected constructor that requires this session object…
Sam
  • 1,301
  • 1
  • 17
  • 26
1
vote
3 answers

Best strategy for retrieving large dynamically-specified tables on an ASP.NET page

Looking for a bit of advice on how to optimise one of our projects. We have a ASP.NET/C# system that retrieves data from a SQL2008 data and presents it on a DevExpress ASPxGridView. The data that's retrieved can come from one of a number of…
KenD
  • 5,280
  • 7
  • 48
  • 85
1
vote
1 answer

If condition in xpquery

var a = (from t in unitOfWork1.Query().Where(t => t.Oid == 1) group t by new { t.LedgerId.Oid, t.LedgerId.Name, t.LedgerId.OpeningBalance } into grp select new { …
Rashmi
  • 31
  • 4