csla

System.TypeLoadException

ぐ巨炮叔叔 提交于 2020-03-22 06:58:23
问题 I'm receiving the following error in my WPF application: Declaration referenced in a method implementation cannot be a final method. And the only thing I have found states that the problem is that a non-virtual method is being overridden, but I checked and could not find any in my object. The error is not thrown when compiling but only when I debug. Does anyone have a suggestion that I might try? -- UPDATE I get the error in my App.Xaml.cs OnStartup override when calling: var catalog = new

Csla4 and Net4 - ASPNET permission denied on the client

不问归期 提交于 2020-01-25 09:52:04
问题 My application works beautifully when the Net version was not Net4. It continues to work perfectly if I create a new Windows 7 based server from scratch. Configure the permissions and away you go. But (and there is always a but...), my customer has an existing server where the application does not even start when I move to Csla4 and Net4. All the permissions seem to be identical on my "clean" server and on his "legacy but upgraded" server. But the client gets a security error: System.Security

Java “equivalent” to CSLA

孤街醉人 提交于 2020-01-04 15:29:19
问题 I've read several chapters of the CSLA book and I like it, but being lately geared more towards Java, I'm looking for a Java-based equivalent. Does anybody know anything that comes close to CSLA in Java ? I would also settle for a good combination of other existing technologies that would achieve similar goals. 回答1: There is not any framework available similar to CSLA.NET in Java. Suraj Chandran in not correct. Spring is an AOP framework and Hibernate is an OR-Mapper. Where, CSLA is a

Have you ever used CSLA? [duplicate]

早过忘川 提交于 2019-12-21 05:41:46
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Does anyone have any real-world experience of CSLA? Have you ever used CSLA and if so what are yout thoughts? I am starting a new contract for a company that uses CSLA and NHibernate and wanted some opinions or insights into the framework. 回答1: My opinion: The book is excellent. It taught me a lot about .NET and design in general I don't agree with the design of CSLA, thus I would never use it :) Take the ideas,

Have you ever used CSLA? [duplicate]

☆樱花仙子☆ 提交于 2019-12-21 05:41:09
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Does anyone have any real-world experience of CSLA? Have you ever used CSLA and if so what are yout thoughts? I am starting a new contract for a company that uses CSLA and NHibernate and wanted some opinions or insights into the framework. 回答1: My opinion: The book is excellent. It taught me a lot about .NET and design in general I don't agree with the design of CSLA, thus I would never use it :) Take the ideas,

To be XML serializable, types which inherit from ICollection must have an implementation of Add

[亡魂溺海] 提交于 2019-12-12 14:00:00
问题 I have CSLA (1.x framework) objects from an existing project that I'm trying to use in a new .Net 4.0 project. The objects are being used in production and I really can't convert them to 2.x or EF without having 2 sets of objects. In my c# webservice (when I try to run it) I am getting the following error: To be XML serializable, types which inherit from ICollection must have an implementation of Add(objectname.object) at all levels of their inheritance hierarchy. objectname.objectList does

Hanging Linq query with Guid.Empty in the where expression

社会主义新天地 提交于 2019-12-12 09:52:21
问题 I'm having an issue with the following code: private void DataPortal_Fetch(TaskCriteria criteria) { using (var ctx = ContextManager<Gimli.Data.GimliDataContext> .GetManager(Database.ApplicationConnection, false)) { this.RaiseListChangedEvents = false; this.IsReadOnly = false; IQueryable<Data.Task> query = ctx.DataContext.Tasks; if (criteria.ReadyForPricing) { query = query.Where(row => row.IsPriced != true); query = query.Where(row => row.Status == (int)TaskStatus.Closed); query = query.Where

Issues with storing the custom Principal in Session for ASP.NET MVC

走远了吗. 提交于 2019-12-12 07:23:19
问题 I am running into an issue with ASP.NET MVC where it is forcing the user to log back in after about 20 mins of inactivity. I am using Forms Authentication and have increased the time-out in the config file as: <authentication mode="Forms"> <forms loginUrl="~/Account/LogOn" timeout="9999999" /> </authentication> I am also setting the session time-out in the config file as: <sessionState timeout="120"></sessionState> I am basing this off of Rockford Lhotka's CSLA ASP.NET MVC example and have

CslaModelBinder not binding child list

坚强是说给别人听的谎言 提交于 2019-12-11 09:17:09
问题 I have the following business classes public class EditableRoot:Csla.BusinessBase<EditableRoot> { public string Name { get; private set; } public int Id { get; private set; } public static EditableRoot New() { return DataPortal.Create<EditableRoot>(); } public static readonly PropertyInfo<EditableChildList> ChildListProperty = RegisterProperty<EditableChildList>(c => c.ChildList, RelationshipTypes.Child); public EditableChildList ChildList { get { return GetProperty(ChildListProperty); }

“Hiding” part of List

北慕城南 提交于 2019-12-11 06:09:26
问题 Task: I want to hide a part of my CSLA ChildList but without using any extra Columns in my Database. (like visible ? true / false) Example: I have a List of all member. Im setting a filter which allows me to see only the member with the number 3. Now I can edit the filterd List. After removing the filter I can see the whole List again and the edited Members without saving between the actions. Im ending up in having two Lists. One is the filtert and one of all Members. Maybe there are some