RoguePoet01
Programmer
Hi,
I'm just learning C# and I found it could do some things that really blew me away. I look forward to using these features for other things in the future, but I was thinking about using them here at work, first.
Say we keep track of cars, trucks, and motorcycles.
Each has its own table.
I'd like to make an object that serves as an interface for each table, so I'd send it something like
objCars("Update", recordset)
or
objTrucks("Add", recordset)
Ideally I'd be able to reuse this code and call it from any program.
Is that a good idea, or is that already being done in the .NET interface.
I'm just learning C# and I found it could do some things that really blew me away. I look forward to using these features for other things in the future, but I was thinking about using them here at work, first.
Say we keep track of cars, trucks, and motorcycles.
Each has its own table.
I'd like to make an object that serves as an interface for each table, so I'd send it something like
objCars("Update", recordset)
or
objTrucks("Add", recordset)
Ideally I'd be able to reuse this code and call it from any program.
Is that a good idea, or is that already being done in the .NET interface.