CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Search

  • Re: CSLA 4.x Validation across business objects

    That's fine - but in this case having a message is a requirement. Look at the IDataErrorInfo interface - it only has properties that return string values. How else is the data-binding/validation infrastructure in .NET supposed to know whether the instance in question is valid? The IDataErrorInfo interface (and, indeed, almost all of the validation
    Posted to CSLA .NET discussion (Forum) by tmg4340 on Thu, Jun 7 2012
  • Re: Moving from version 1.1 to latest

    That's an entirely different question, and not really one I'm qualified to answer for you. But I'm not sure anyone is. I will admit that in a "straight" ASP.NET environment, you lose some of CSLA's functionality, since you're not dealing with a very interactive UI technology. However, there is still benefit - integration
    Posted to CSLA .NET discussion (Forum) by tmg4340 on Mon, May 28 2012
  • Re: Moving from version 1.1 to latest

    You're basically looking at a re-write. Between the new property declarations, business rules as objects, and the switch to generics/lambdas/etc., you're not likely to save much of the current codebase. The current version of CSLA looks almost nothing like 1.1. If you're looking to move towards the most-recent codebase, you're going
    Posted to CSLA .NET discussion (Forum) by tmg4340 on Mon, May 28 2012
  • Re: CSLA 4.x Validation across business objects

    Depending on your particular use case, you may not need to worry about cross-object validation. Since you say you have to pull the data "directly from the database", why not simply pull the prior flight's information as part of your business object? Unless there's a presumption that both will be worked on simultaneously (which makes
    Posted to CSLA .NET discussion (Forum) by tmg4340 on Tue, May 1 2012
  • Re: Major performance issue with loading ROLB

    Lazy load won't help here - it would just push the problem to later. I guess for me the first question is "what does your Child_Fetch method look like?" After that would be questions about the DataPortalInvoke methods... (I guess I'm saying that some code might help us diagnose the issue. ) FWIW, I also think this is a rather large
    Posted to CSLA .NET discussion (Forum) by tmg4340 on Wed, Apr 11 2012
  • Re: IEnumerable LINQ Query SmartDate issue

    Part of what you're running into is that a SmartDate is declared as a struct. Therefore, by definition it can't be NULL. More specific to your error, the SmartDate struct has several operator overloads, but none of them take an object as the second argument. Since a NULL value doesn't convert to anything other than an object type without
    Posted to CSLA .NET discussion (Forum) by tmg4340 on Wed, Mar 28 2012
  • Re: Anyone help with the VB.Net implementation of PTPrincipal?

    I don't know a lot about lambdas in VB.NET, but I'm guessing the issue is that the lambda expression is being defined as a function, but the expression doesn't return anything. So my best suggestion is to replace "Function(o, e)" to "Sub(o, e)" (and the corresponding "End" tag too). HTH - Scott
    Posted to CSLA .NET discussion (Forum) by tmg4340 on Mon, Feb 20 2012
  • Re: dalManager.GetProvider() - System.NotImplementedException

    Well - presuming this code is using what you published in previous posts, my first thought is whether the "NotImplementedException" is coming from your GetProvider() method because it can't construct the type you're asking for. The code you posted throws this very exception in that event. HTH - Scott
    Posted to CSLA .NET discussion (Forum) by tmg4340 on Fri, Feb 17 2012
  • Re: DataAccess, DataAccess.Mock - what am missing/am I doing wrong?

    I think this post may help: http://spiderinnet1.typepad.com/blog/2011/12/vbnet-root-namespace-vs-c-default-namespace.html VB.NET deals with "Root Namespace" differently than C# deals with "Default Namespace". Essentially, VB.NET takes your "Root Namespace" value and prepends it to all your namespace declarations in your
    Posted to CSLA .NET discussion (Forum) by tmg4340 on Thu, Feb 16 2012
  • Re: DataAccess, DataAccess.Mock - what am missing/am I doing wrong?

    The "NotInheritable" shouldn't matter. Let's start with the basics: how is your IDalManager interface defined? Is it Public? - Scott
    Posted to CSLA .NET discussion (Forum) by tmg4340 on Thu, Feb 16 2012
Page 1 of 42 (420 items) 1 2 3 4 5 Next > ... Last ยป | More Search Options

Copyright (c) 2006-2010 Marimer LLC. All rights reserved.
Email admin@lhotka.net for support.
Powered by Community Server (Non-Commercial Edition), by Telligent Systems