Trying to move to C#

Trying to move to C#

Old forum URL: forums.lhotka.net/forums/t/12868.aspx


ebick posted on Wednesday, April 22, 2015

Hello,

 

I have always used CSLA in VB.  I'm trying to move to C#.  I ran a Business Base class through a converter and there were some issues.  

Can someone please send me a copy of the project tracker (or similar) business objects for the class library in C#?

edbick@smartcity.net

 

Thanks,

 

Ed

ajj3085 replied on Wednesday, April 22, 2015

https://github.com/MarimerLLC/csla

You can find all the samples there.

ebick replied on Wednesday, April 22, 2015

Thanks for trying to help, Andy...I'm sure the answer I am looking for is in there, but after 30 minutes of looking, I couldn't find it.  I'm not looking for CSLA code itself...I am looking for the example code for the class library to support a WinForms or Web app from the sample "Project Tracker", examples of the classes that inherit from business base and related.

JonnyBee replied on Thursday, April 23, 2015

Try this folder:

https://github.com/MarimerLLC/csla/tree/master/Samples/NET/cs  

Lots of samples - including ProjectTracker in C#

ebick replied on Thursday, April 23, 2015

JonnyBee

Try this folder:

https://github.com/MarimerLLC/csla/tree/master/Samples/NET/cs  

Lots of samples - including ProjectTracker in C#

PERFECT!  Thanks so much!

ebick replied on Thursday, April 23, 2015

One problem.

I'm using the latest 3.8v from the site, it doesn't like this line 

[Display(Name = "ID")]

Specifically, it doesn't like "Display".  Is that a version 4 thing?

JonnyBee replied on Thursday, April 23, 2015

No, it is a standard DataAnnotation attribute in .NET.

Copyright (c) Marimer LLC