Data Model

Subscribe to Data Model content with RSS Syndicate content or email

Converting objects between classes

Let's say I have two classes: A and B. They share no common parent except %SystemBase. But these classes have some properties with the same name (type may be the same or not):

views

rating

REST Services Cataloging

I've been building up a REST services API, consisting of a dozen or so classes referenced from a Dispatch class, which has route mappings for the first piece of the URI.

views

rating

views

rating

Options for moving documents between systems?

Hi, 

We have a mixture of legacy and new systems, and are grappling with the issue of moving documents between systems.

views

rating

Parsing docx using XSLT

The task of handling office documents, namely docx documents, xlsx tables and pptx presentations is quite complicated. This article offers a way to parse, create and edit documents using only XSLT and ZIP.

Why? docx is the most popular document format, so the ability to generate and parse this format would always can be useful. The solution in a form of a ready-made library, can be problematic for several reasons:

  • library may not exist
  • you do not need another black box in your project
  • library restrictions : platforms, features, etc.
  • licensing
  • processing speed

In this article, I would use only basic tools for work with the docx documents.

views

rating

How can I override the getter for serial property?

I want to override getter for a serial property as a whole, because getter code depends on a class in which a property is defined.

Let's say I have CS.Serial as a serial class:

views

rating

Where can I find information on document repositories?

In the table/class HS_Registry.document there is a column/property named RepositoryUniqueId.

views

rating

2016.2 Field Test Kit 2016.2.0.605.0

I am pleased to announce the next 2016.2 field test kit, 2016.2.0.605.0.

views

rating

2016.2 Field Test Kit 2016.2.0.595.0

I am pleased to announce the next 2016.2 field test kit, 2016.2.0.595.0.

views

rating

DecisionTree

Is there someone that has developped a program in order to create a 
"decisiontree"? Depending The answer to a question leads to another question, and so on, 

views

rating

DeleteHelper - A Class to Help with Deleting Referenced Persistent Classes

Following up on the topic of making sure that referenced instances are deleted when the referrer is deleted –

views

rating

translating macintosh escape sequences to the nearest equivilent eg. %u201C and %u201D is actually the quote marks

the boss started using his new mac laptop, and now we are getting macintosh's own html escape characters being stored in the database especially in our text blocks, when we then print it we see things like

views

rating

Free Text Search: The Way To Search Your Text Fields That SQL Developers Are Hiding From You!*

Have some free text fields in your application that you wish you could search efficiently?  Tried using some methods before but found out that they just cannot match the performance needs of your customers?  Do I

views

rating