Questions tagged [xaf]

The DevExpress eXpressApp Framework (XAF) is a modern and flexible .NET application framework that allows you to create powerful line-of-business applications that simultaneously target Windows and the Web.

XAF's scaffolding of the database and UI allows you to concentrate on business rules without the many distractions and tedious tasks normally associated with Windows and Web development. XAF's modular design facilitates a plug and play approach to common business requirements such as security and reporting. Learn more on features and benefits at http://www.devexpress.com/xaf

264 questions
12
votes
3 answers

APPX321 SDK folder containing 'UAP.props' for 'UAP 10.0.17763.0' cannot be located

I want to create an upload package for the Windows Store. The app is essentially "Hello world" for a dev express XAF Win application. I am using the Desktop Bridge. I am following the docs to create the upload package This created a file C:\Program…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
11
votes
3 answers

No projects supported by NuGet in the solution

I created a new Dev Express Winforms project using the XAF Wizard. Normally this works fine, however I have been playing with installing Dev Express from Nuget recently. Following this excellent blog from Manuel Grundner All the references in the…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
5
votes
2 answers

Why can't I see a localdb database created by a UWP (Desktop Bridge App) in the SQL Server Object Explorer?

Does UWP support LocalDB? My investigations indicate there are some issues using localdb that I don't experience with SQL Server 2017 Development edition. I managed to convert a winforms EF-Code First, xaf application to run as a UWP app with the…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
5
votes
1 answer

How do I get UWP Uninstall to remove database completely?

I have managed to get an XAF application into the Windows Store via the Desktop Bridge. When a user installs my software from the Windows Store and then chooses to uninstall, I want them to have the option to completely uninstall the software…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
4
votes
3 answers

The type initializer for 'Microsoft.Data.SqlClient.SNINativeMethodWrapper' threw an exception

I have myExe472.exe that calls myNet472 dll that calls a mystandard2 dll ( i.e standard2.0) which uses entityframeworkcore This works fine. However when I try and use myNet472 in a different .exe (a Dev Express xaf module.win project) I get an…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
4
votes
1 answer

Setting multiple properties at once in an XPO Object

I've been experimenting with C# and DevExpress and came across a situation for which I cannot find a simple solution. I've got three objects: Book Author Series   A Book has a collection of Authors (Many-to-Many) An Author has a Collection of…
Peter
  • 8,776
  • 6
  • 62
  • 95
4
votes
1 answer

Unable to step into 3rd party code using debugger

I want to step into the DevExpress XAF code using the debugger. I have asked about it here but am having problems spotting what I have done wrong. VS2019 16.2.2 Dev Express XAF 19.1.5 Winforms project The break point is in…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
4
votes
1 answer

How do I set up Azure Dev Ops to build Dev Express XAF-XPO project?

I want to set up continuous integration and deployment for an XAP Mobile app in Azure Devops. In order to get CI/CD I need to set up the Azure Pipeline to install the right packages. There is some information in the docs on Hosting your own NuGet…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
4
votes
0 answers

How do I specify TPT if I am inheriting a class that contains a child collection?

I have the following classes [Table("JEvent"] public class JEvent : Event { public string MoreDetails { get; set; } } Table("JResource") public class JResource : Resource { public string MoreDetails { get; set; } } I know that…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
3
votes
4 answers

DevExpress eXpressApp Framework (XAF) and eXpress Persistent Objects (XPO): how do I speed up the loading time of associations?

I am having a problem with the speed of accessing an association property with a large number of records. I have an XAF app with a parent class called MyParent. There are 230 records in MyParent. MyParent has a child class called MyChild. There are…
MindModel
  • 822
  • 1
  • 10
  • 22
3
votes
1 answer

TestCafe: web application (XAF Application) with dynamic ids

I'm a new user of TestCafe, and I have a problem: the web application that I'm testing has elements with dynamic ids. So when I run my test, I have an error because the Selector not find the element in the exam. How to resolve this problem? Can you…
r4ff0
  • 33
  • 6
3
votes
1 answer

Multiplicity constraint violated (In XAF When createdObject.ObjectSpace.ModifiedObjects.Count has not been accessed.)

Question Summary: Why would a "Multiplicity constraint violated" be able to be worked around by the introduction of the following line of code? var numModifiedObjects =createdObject.ObjectSpace.ModifiedObjects.Count; Is there a setting that would…
Kirsten
  • 15,730
  • 41
  • 179
  • 318
3
votes
3 answers

Multiple OnSaving event in DevExpress XAF

Im working on a piece of code using DevExpress XAF, I noticed that if im using the event OnSaving that the code executes 2 times, how can i prevent that protected override void OnSaving() { if (PrestamoP != null) { …
3
votes
1 answer

How does one display the time portion in the devexpress xaf audittrail module's listview

Adding the following code to the business object private XPCollection changeHistory; public XPCollection ChangeHistory { get { if (changeHistory == null) …
Eminem
  • 7,206
  • 15
  • 53
  • 95
2
votes
2 answers

DevExpress eXpressApp Framework (XAF) - Web Application customization

In XAF Windows Application I can customize Model at runtime using Model Editor. Is there any way to customize model at runtime when I use Web Application?
kyrylomyr
  • 12,192
  • 8
  • 52
  • 79
1
2 3
17 18