object-model

Which is the faster way to interact with SourceSafe? Command line or object model?

Our project is held in a SourceSafe database. We have an automated build, which runs every evening on a dedicated build machine. As part of our build process, we get the source and associated data for the installation from SourceSafe. This can take quite some time and makes up the bulk of the build process (which is otherwise dominated b...

HL7 object model for .NET

Searching for a library or framework that would provide an object model, parsing, validating, etc The idea would be to be able to spin up a new object of type hl7 v2 or v3. Then perhaps call it message type ORU_R01 or ADT, or ORM. Wouldn't life be great if we were able to do something like this: HL7V2 myMessage = new HL7V2(); myMessag...

Excel add-in transferring data from sheets to database: file path problem

I wish to create an addin for excel which can read the current sheets data and then insert it into database. The database connection requires the file location. Therefore that approach cant be applied as I have to send the file that I have currently opened and can't specify the file path. And moreover I need the data of each column to ...

In Squeak, how to wrap every method send?

I created a class, and in that class I have a method 'sendMessage: to: withArgs:' which recieves an object, a message and an array of arguments. The method is used to send messages to object and perform some algorithm. To use this method I have to create an instance x of the class I created and do something like x sendMessage: '+' to:...

How to use the Automation object model of Microsoft Office packages (Word, Excel, etc.) in "plain" COM/ActiveX

I finally found the object model documentation for Microsoft Office. However it talks about interop assemblies and stuff that sounds like .NET. I don't use .NET directly, and I don't really want to learn much about it. Is there a way to just use plain COM/ActiveX classes/interfaces to automate MS Word/Excel? ...

Regarding SPLongOperation Object In SharePoint 2007

I am using the SPLongOperation Object in my project to introduce a delay while navigating to a new page.The in-built page uses the default css styles and branding. I want to customize this page design and apply my own theme and branding. Please tell me how to apply a custom master page to the page which displays the SharePoint 2007 Spi...

.NET tree object model

I like Microsoft's Windows Forms tree-view object model. It has the tree, nodes, children collection, parent, prev, next (sibling), etc. and search function. However I'm looking for the same object model with no UI - simply tree object model. Does C# have this kind of model or do I have to implement it myself? ...

subsonic asp.net 3 layer architecture object model

Hi there, i've been using subsonic for two years now (actually i'm using 2.1 version in my projects right now). I'd like to structure a new project this way: presentation layer + business layer + data layer with an object model, vertical to the 3 layers, that models business entities. The matter is that subsonic, through the db reading,...

Create an external table in access with outlook contacts programmatically

I'm not sure if this is possible, but i would like to create an external table in access with outlook contacts programmatically. I've searched in the Microsoft Access object model, but couldn't find a method or property that enables you to do so. I need this for synchronizing contact persons between outlook and an application I'm buildi...

A practical object-oriented design question

I'm making the switch to a more object-oriented approach to ASP.NET web applications in a new system I'm developing. I have a common structure which most people will be familiar with. I have a school structure where there are multiple departments; courses belonging to a single department; and students belonging to multiple courses. In...

How to read Dbml file and map it into an object model in .net?

Im planning to write a code generator to generate UI (forms, grids, etc.). Since i'm using Linq i'm planning to read dbml file for metadata extraction purposes. I wonder if there is some Api to read the Dbml object model (database, tables, columns, asociations). I've opened SQLMetal.exe with Red Gate's .NET Reflector, it contains a nam...

When should transient properties in CoreData be included in the object model?

I am unsure about the correct definition of transient properties: One can define transient properties in the object model and then calculate them when needed in the related class. But things work just as well if you specify a class and define arbitrary getter methods for any transient property without declaring it in the object model (...

Model Object C#

hey guys, i am working in a compnay for training, and they asked me to do a modeling application. to be clear, i want to code using C# an application that do as same as the "logic works" or "Visio". why dont they use those? because they want to use different items, plus they want it to be stored in a database not as a file with extentio...

"Points of view" in the object model

We have two domain types: Users and Locations. We have a method on the LocationRepository: GetUserLocations(). The existing implementation: var user = UserRepository.GetUser(userId); var locations = LocationRepository.GetUserLocations(userId); To me it makes more sense to retrieve the locations associated with a user from the User t...

A good HTML object model in Java ?

I'm looking for an HTML object model in Java, capable of parsing HTML (not required) and containing all HTML elements (and CSS as well) in an elegant object model. I'm looking for a pure java version of the Groovy's HTML builder. (I have no luck on google with this request.) I want to be able to perform stuff like: HTML html = new HTM...

How to Develop a Public API Object Model In a WPF Desktop Application That Allows For Out-Of-Process Automation From Another .NET Desktop Application

We're developing a large desktop application using Windows Presentation Foundation. Currently, the application is for internal use but will eventually be sold as a commercial product. I'm currently using a variation of the M-V-VM design pattern to keep as much code out of the UI components (i.e. windows, user controls). I know at some po...

importance of object model in domain driven design

Our team is fairly new to domain driven design. We have a new project that just moved from design phase into coding phase. In the design phase, some team members created UML design models in Visio, while others just started coding. Also, with the pressures of build releases, many of our models are becoming out of date quickly. Is it ...

Is there a better way to model the feeding behavior of an organism?

Basically each entity would have a collection of feeding behaviors that it would follow. For some reason the model I came up with does not feel right. I think the most troubling part is that using singletons made sense. Is there a better way? public bool IsEntityEdible(Entity target) { foreach (var feedingBehavior in FeedingBehavio...

How do I get started designing and implementing a script interface for my .NET application?

How do I get started designing and implementing a script interface for my .NET application? There is VSTA (the .NET equivalent of VBA for COM), but as far as I understand I would have to pay a license fee for every installation of my application. It is an open source application so this will not work. There is also e.g. the embedding o...

What's the difference between data model and object model?

CWM is data modeling UML is object modeling. Can someone explain the difference that a layman can understand? ...