business-objects

Foreign Key in related Business Objects

If I have two business objects, with a related field (foreign key CountryId), how do I display the CountryName in place of the CountryId when I display a list of the employee class? public class Employee { public int Id { get; set; } public string FirstName { get; set; } public string FamilyName { get; set; } public int ...

C# CSLA business object dilemma: read-only vs read/write

I'm part of a team tasked to revamping our old VB6 UI/COBOL database application to modern times. Before I was hired, the decision was made (largely on sales, I'm sure) to redo the UI before the database. So, now we're using WPF and MVVM to great effect, it's been amazing so far, especially using CSLA as our Model layer. However, beca...

Business objects frameworks for C# and .net

Is there any other open source BusinessObjects framework available like CSLA for C#? ...

Business logic on multiple objects - where to put the loop?

...and how best to handle success/failure feedback to a view layer. Assuming that the business objects will be iterated over in the business logic method if the loop is put there (i.e. not a bulk update operation), code options in the view logic are: doBusinessLogic( Set businessObjects ) or for (businessObject : businessObjects) { ...

How to databind to a dropdown list of user defined types?

I have a dropdown list containing the days of the week - Monday to Sunday. It is populated with a user defined type of two values that map the numeric day of the week to it's name. Public Structure WeekDays Public ID As Integer Public Text As String Public Overrides Function ToString() As String Return Me.Text End Fun...

How can I talk to the Business objects Instance on server(BO Infoview) for a windows app c#

Hi folks, we have BO Infoview runnig on our servrer. I would like to establish connection to it from a local windows app in C#. Do we have any API's for BO infoview?? Please help.... ...

Programmatic Integrity Check Creating False Positives

I created an application that automates some of the mundane tasks of using business objects designer. One of the tasks it performs is documenting a universe after creation, and recording the documentation to an HTML file. The problem I'm having is that (many times) I'll create a universe, run an integrity check on it, and find no errors...

UI, Business Logic Layer, Data Layer and where to put web services

We are developing a web application. We want to possibly reuse the work we do here for a different application that will use the same database, and use the same business rules for reading and writing to said database. Which design would be more correct Having the UI call web services, which would use business objects containing the b...

How to handle null values in my business objects

Let's say I have a custom class like this one: public class Customer { public int CustomerID { get; set; } public string CompanyName { get; set; } public string BusinessAddress { get; set; } public string Phone { get; set; } public int ParentID { get; set; } } I create custom objects from the...

Migrating BO Reports between environments

We have the standard 3 environment setup of development, testing and production. Each environment has their own report server, web server, database server, etc. Part of our migration is to move our business objects (xi r2) reports between the servers but as of right now we need to manually update the connection settings for each report...

Can we use Extension Methods for building business rule engines?

I am looking to do something like this public class ProductBiz: BizBase<Product> { public List<String> BrokenRules {get;set;} // Some kind of data + biz operation implementation } public static class ProductBizExtensions{ public ProductBiz Rule1(this ProductBiz prodBiz) {} public ProductBiz Rule2(this ProductBiz prodBiz) {} public...

Business logic in a data object vs. coupling vs. DTO (vs. ?)

I've got a set of business/domain classes (for a calendar) that are going to be exposed in an internally-public API. In the same API, there are data objects that directly mirror the underlying database structure (NHibernate mapping, but that's unimportant). What I need to do is build typed collections of those objects, so the days on th...

SubSonic 2.x - Configuring Object Datasource - Missing My DAL!

I've got two main sprocs that I'd like to link up to two separate object data sources. I generate my DAL in a separate project, and simply import the DLL into my current project. The problem is that I'm unable to see any of my DAL objects in the business object dropdown list, and none show up when I select Show Only Data Components. I...

Is nHibernate intended to replace database objects?

I've not yet found a clear answer to this and to clarify: With nHibernate and SQL server are you expected to disregard or migrate your business logic stored in your stored procedures, views and triggers into HQL or application code? ...

Version control for BusinessObjects

How would go about implementing version control for BusinessObjects (as in the BI solution)? Ideally we would like to have some sort of way of getting artifacts into our Subversion repository. (I don't know much about BusinessObjects to be honest). ...

DevExpress Xtrareports using a Business object as a datasource

Hi I am trying out DevExpress Xtrareports, but have asimple problem that I am not able to find an answer to. In an Asp.net website project, I want to add a business object to my report as a datasource and then drag and drop the fields from my new business object data source onto the report designer. Can some one help explain how i do ...

Java: Can a desktop App log-in in a web app and retrieve a "session" object to authenticate itseft in other apps which trust the web app?

I don't know if this question has any sense, but this is what my boss want. I work in a company with an intranet web. In my department we have developed an application wich connects to a Bussiness Object server and executes and prints reports. This is a regular client/server app with our own user/password manintenance to log in. My b...

business object, on the wire object and calculator - which is best

i see this pattern over and over again and wanted to get opinions: Option 1: On the wire object and Business object composition: On the wire object - the data that is serialized and sent back and forth across machines (client / server, etc). This is a POCO object. For example: public class Order { public int Price; publi...

How to Hyperlink to a Business Objects Report in Infoview

Is there a way to craft a hyperlink that connects to a Crystal Report or Webi within Infoview? Ideally, unauthenticated users would be challenged with Infoview security and then redirected to the report. Thanks! ...

Alternative Infoobject placeholders

Dear Experts, I'm using these infoobjects as placeholders %SI_ ENDTIME% and%SI_ SCHEDULE_ INTERVAL_ MINUTES% to show the end time of the query and the duration of the query being run. They don't seem to work. I do have %SI_ STARTTIME%, &SI_ID% and some others that work perfectly. I'm using these in BusinessObjects CMC as email notificati...