473,396 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Class/Interface generation in C#

In VB .net I and my colleagues will often use abstract interfaces and VB's
'class wizard bars' at the top of the IDE for inheriting and generating a
number of new classes quickly. This feature does not appear to be available
in C#. Rather than using the xsd designers (or purchasing rational rose), is
their a recomended method of generating C# classes/interfaces that is of
similar (or even faster!) speed to vb .net?

Regards,
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.776 / Virus Database: 523 - Release Date: 16/10/2004
Nov 16 '05 #1
2 1626

What are you trying to generate the classes from? If you have XML, then XSD
is the appropriate tool. If you're creating classes for database access,
llblgen is a good choice.

If you're trying to have a wizard experience for adding classes, do this:
- Open the Class View (View|Class View on the main menu)
- Right-click on the project name, and select Add -> Class from the context
menu
- Follow the wizard

To add classes, methods, etc.:
- Open the Class View (View|Class View on the main menu)
- Right-click on the class name, and select Add-> {thing you want to add}
- Follow the wizard
--
Mickey Williams
Author, "Visual C# .NET Core Ref", MS Press
www.neudesic.com
www.servergeek.com


"dotNEWBIE" <Newbie@dotNET> wrote in message
news:Ot****************@TK2MSFTNGP10.phx.gbl...
In VB .net I and my colleagues will often use abstract interfaces and VB's
'class wizard bars' at the top of the IDE for inheriting and generating a
number of new classes quickly. This feature does not appear to be
available
in C#. Rather than using the xsd designers (or purchasing rational rose),
is
their a recomended method of generating C# classes/interfaces that is of
similar (or even faster!) speed to vb .net?

Regards,
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.776 / Virus Database: 523 - Release Date: 16/10/2004

Nov 16 '05 #2
Thanks Mickey, thats some invaluable advice that will help me work smarter!

"Mickey Williams [C# MVP]" <my first name at servergeek dot com> wrote in
message news:ez*************@tk2msftngp13.phx.gbl...

What are you trying to generate the classes from? If you have XML, then
XSD is the appropriate tool. If you're creating classes for database
access, llblgen is a good choice.

If you're trying to have a wizard experience for adding classes, do this:
- Open the Class View (View|Class View on the main menu)
- Right-click on the project name, and select Add -> Class from the
context menu
- Follow the wizard

To add classes, methods, etc.:
- Open the Class View (View|Class View on the main menu)
- Right-click on the class name, and select Add-> {thing you want to add}
- Follow the wizard
--
Mickey Williams
Author, "Visual C# .NET Core Ref", MS Press
www.neudesic.com
www.servergeek.com


"dotNEWBIE" <Newbie@dotNET> wrote in message
news:Ot****************@TK2MSFTNGP10.phx.gbl...
In VB .net I and my colleagues will often use abstract interfaces and
VB's
'class wizard bars' at the top of the IDE for inheriting and generating a
number of new classes quickly. This feature does not appear to be
available
in C#. Rather than using the xsd designers (or purchasing rational rose),
is
their a recomended method of generating C# classes/interfaces that is of
similar (or even faster!) speed to vb .net?

Regards,
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.776 / Virus Database: 523 - Release Date: 16/10/2004


Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Ryan Mitchley | last post by:
Hi I have a rather complicated class for performing matrix operations using complex arithmetic. I have written two classes, CComplexMatrix and CComplexMatrixTemp, and have been attempting to...
3
by: Bob | last post by:
Is there an interface or events in the system that occurs pre and post garbage collection that one of my objects can attach to? I need to know in my application when garbage collection is about to...
4
by: clintonG | last post by:
I'd like to know about application(s) or the name by which the following process is referred which would allow a business analyst to enter the following statements which when submitted would result...
16
by: christopher diggins | last post by:
It appears that the following is not considered a class: template<typename T> class C { }; ? So officially is this considered: a class, a template, a class template, or a template class? I...
7
by: Jeff | last post by:
I want to remote several strongly typed datasets and I don't want to distribute the assemblies. I wish to create interface assemblies for these datasets but I don't know where to start. I've...
3
by: Chakra | last post by:
I have a Entity class defined in a assembly. I then have a web service in the same solution, which takes an object of this class as a parameter. It expects me to give the fully qualified name of...
5
by: HenrySeque | last post by:
I have a webservice and I add a web reference from my web project. I want the proxy class to implements an Interface, but I didn't find the source code of the proxy class and I don't want to...
1
by: Mani Jayadevan | last post by:
Sevket, Were you able to resolve the issue? I am facing the same problem. If you have already resolved it please let me know how you did it? Thanks Mani EggHeadCafe - .NET Developer...
2
by: Dinsdale | last post by:
We have created a object library that implements the INotifyPropertyChanged.PropertyChanged to bubble changes up to higher level classes. For instance, we have a person class that can have...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.