Click here to Skip to main content
15,896,557 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
GeneralRe: windows 8 desktop application Pin
WebMaster3-Nov-12 19:32
WebMaster3-Nov-12 19:32 
GeneralRe: windows 8 desktop application Pin
WebMaster3-Nov-12 19:36
WebMaster3-Nov-12 19:36 
AnswerRe: windows 8 desktop application Pin
Pete O'Hanlon31-Oct-12 1:03
mvePete O'Hanlon31-Oct-12 1:03 
GeneralRe: windows 8 desktop application Pin
Menelaos Vergis31-Oct-12 1:37
Menelaos Vergis31-Oct-12 1:37 
GeneralRe: windows 8 desktop application Pin
Pete O'Hanlon31-Oct-12 1:42
mvePete O'Hanlon31-Oct-12 1:42 
GeneralRe: windows 8 desktop application Pin
Menelaos Vergis31-Oct-12 2:13
Menelaos Vergis31-Oct-12 2:13 
GeneralRe: windows 8 desktop application Pin
Pete O'Hanlon31-Oct-12 2:54
mvePete O'Hanlon31-Oct-12 2:54 
QuestionInventory Control App. - Looking For Suggestions Pin
Matt U.30-Oct-12 8:36
Matt U.30-Oct-12 8:36 
Hello, CP. So I am working on this application here at work and the current piece involves inventory management. First, I will list the tools I use:

Visual Studio 2010 Ultimate
C#, .NET 4.0
Microsoft SQL Server 2008 Enterprise
LINQ To SQL

Now, what I have are various types of items which need to be tracked. They are referred to as "RPCs" (and they are all computer parts). I have been thinking on this for a while but I need to figure out the most efficient way (both from a development standpoint as well as from an end-user standpoint) to input data and store these items in the database.

What I have done so far, for the first three types of RPCs, is I have created a UserControl. On that control are the fields necessary for that particular RPC type. Each RPC has various attributes which are not shared among other types. For example, a Hard Drive has Marketed Size, Physical Size (2.5" or 3.5"), RPM while a CPU has Clock Speed, Cache Size, # of Cores. I think you get the idea.

Well, I started out with these three UserControls as well as three tables in the database, one for each type. However, the issue really becomes known when I say this: to start with, I have roughly 25 diferent RPC types.

So is there a way I can keep from creating 25 UserControls, one for each type? Or 25 tables in the database just for RPCs? I thought about creating a single table with the specs that each type does have in common (e.g. Manufacturer, Model) an storing the specs in a specific format (e.g. XML) in a column and having the application manipulate the specs data as necessary. However, the performance issue arises when I think about the fact that I must be able to search various RPC types by one or more specs. For example, the application needs to be capable of finding all 500GB/7200RPM hard drives. That wouldn't work so well when using XML for all of the specs would it?

Maybe I am going about this whole thing all wrong. But then again, maybe I am better off going with the numerous tables and user controls. If that's what it takes, I'll do it. I just started thinking about it early on and realized that maybe I am not being entirely efficient with it.

Any suggestions? Big Grin | :-D
djj55: Nice but may have a permission problem
Pete O'Hanlon: He has my permission to run it.

AnswerRe: Inventory Control App. - Looking For Suggestions Pin
jschell30-Oct-12 10:16
jschell30-Oct-12 10:16 
GeneralRe: Inventory Control App. - Looking For Suggestions Pin
Matt U.31-Oct-12 1:54
Matt U.31-Oct-12 1:54 
GeneralRe: Inventory Control App. - Looking For Suggestions Pin
jschell31-Oct-12 8:49
jschell31-Oct-12 8:49 
GeneralRe: Inventory Control App. - Looking For Suggestions Pin
Matt U.31-Oct-12 9:01
Matt U.31-Oct-12 9:01 
GeneralRe: Inventory Control App. - Looking For Suggestions Pin
jschell1-Nov-12 7:49
jschell1-Nov-12 7:49 
GeneralRe: Inventory Control App. - Looking For Suggestions Pin
Matt U.1-Nov-12 8:13
Matt U.1-Nov-12 8:13 
AnswerRe: Inventory Control App. - Looking For Suggestions Pin
Vivi Chellappa16-Dec-12 5:36
professionalVivi Chellappa16-Dec-12 5:36 
GeneralRe: Inventory Control App. - Looking For Suggestions Pin
Matt U.17-Dec-12 1:49
Matt U.17-Dec-12 1:49 
GeneralRe: Inventory Control App. - Looking For Suggestions Pin
Vivi Chellappa17-Dec-12 4:14
professionalVivi Chellappa17-Dec-12 4:14 
GeneralRe: Inventory Control App. - Looking For Suggestions Pin
Matt U.17-Dec-12 4:17
Matt U.17-Dec-12 4:17 
QuestionASP.NET - using microsoft enterprise library for heavy traffic sites Pin
Sandeep Bhatti29-Oct-12 21:33
Sandeep Bhatti29-Oct-12 21:33 
AnswerRe: ASP.NET - using microsoft enterprise library for heavy traffic sites Pin
Eddy Vluggen30-Oct-12 1:09
professionalEddy Vluggen30-Oct-12 1:09 
GeneralSuggestions for Windows 8 application Pin
WebMaster23-Oct-12 22:37
WebMaster23-Oct-12 22:37 
GeneralRe: Suggestions for Windows 8 application Pin
Richard MacCutchan24-Oct-12 1:11
mveRichard MacCutchan24-Oct-12 1:11 
GeneralRe: Suggestions for Windows 8 application Pin
Richard MacCutchan24-Oct-12 1:41
mveRichard MacCutchan24-Oct-12 1:41 
RantUnwanted Calls / Spoofed Numbers Pin
pdelayCA18-Oct-12 11:42
professionalpdelayCA18-Oct-12 11:42 
GeneralRe: Unwanted Calls / Spoofed Numbers Pin
jschell19-Oct-12 9:27
jschell19-Oct-12 9:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.