Anybody know how to change the current data source of a DataServices on the fly?
by Example i want to consultthe service and pass a parameter saying to pick up another connection., Is Possible???
Which data-access model is a best model and best technology in .Net Framework and C#?
(for a Windows application)
Dataset?
NHibernate?
Entity Framework?
My Define of Best is Best Performance And Best Speed...
I have a external library which includes a core data model, I would like to add a new entity to this model which has a relationship with one of the entities from the library. I know I could modify the original, but is there a way to without needing to pollute the library?
I tried just creating a new model with an entity named the same, but that…
I am looking for an OSS data access block for using with .Net and Sql Server.
I've use Ent Lib in the past, but wondered if anyone could recommend anything else?
My app will allow users to create a personalised list of events from a large list of events. I have a table view which simply displays these events, tapping on one of them takes the user to the event details view, which has a button "add to my events".
In this detailed view I own the original event object, retrieved via an…
I'm writing several JavaScript plugins that are run automatically when the proper HTML markup is detected on the page. For example, when a tabs class is detected, the tabs plugin is loaded dynamically and it automatically applies the tab functionality. Any customization options for the JavaScript plugin are set via HTML5…
I've been trying to design an interface for a data class I'm writing. This class stores styles for characters, for example whether the character is bold, italic or underlined. But also the font-size and the font-family. So it has different types of member variables. The easiest way to implement this would be to add…
Thinking that there might be others, but not sure -- but before getting into that, let me explain what I mean by static and dynamic data sources.
Static (or datastore) - Meaning that the data's state is non-changing, and if was changed, that would be a new state, and the old data would be considered stateless;…
My team currently has a project with a data access object composed like so:
public abstract class DataProvider
{
public CustomerRepository CustomerRepo { get; private set; }
public InvoiceRepository InvoiceRepo { get; private set; }
public InventoryRepository InventoryRepo { get; private set; }
…
What data structure would you use to represent meshes that are to be altered (e.g. adding or removing new faces, vertices and edges), and that have to be "studied" in different ways (e.g. finding all the triangles intersecting a certain ray, or finding all the triangles "visible" from a given point in the…
This is what happened:
I was running 12.04.1 and wanted to install 12.10. upgrade, but a fresh install.
When setting up my computer I anticipated for this by dividing my 640GB HD in following partitions:
1. 60 GB for Ubuntu, boot
2. 576 GB for data, mountpoint /home
3. swap, 4GB
The idea was to…
I have create a LINQ-to-SQL project in Visual Studio 2010 using Dynamic Data. In this project I have two tables. One is called phones_extension and the other phones_ten. The list of columns in phones_extension looks like this:
id, extension, prefix, did_flag, len, ten_id, restriction_class_id,…
I am using core data trying to create a simple database app, I have an entity called "Game" which has a "creator". I have basically used the iPhone table view template and replaced the names. I have the games listed by creator. Currently the tableview looks like this...
Chris Ryder
Chris…
Hoping someone can shed some light on what I might be doing wrong here.
Trying to add an "event" to a list of events, represented by a one to many (inverse) relationship:
MyEvents <--- Event
This is the code:
MyEvents *myEvents = (MyEvents *)[NSEntityDescription…
Hi all. I have a Core Data store which contains a number of MediaItem entities that describe, well, media items. I also have NewsItems, which have one-to-many relationships to a number of MediaItems. So far so good.
However, I also have PlayerItems and GalleryItems which also…
What is a Data Connection Library in SharePoint Server 2010?
A Data Connection Library in Microsoft SharePoint Server 2010 is a library that can contain two kinds of data connections: an Office Data Connection (ODC) file or a Universal Data Connection (UDC) file. Microsoft…
Guest Editorial for Simple-Talk Newsletter... in which Phil Factor reacts with some exasperation when coming across a report that a majority of companies were still using financial and personal data for both developing and testing database applications. If you routinely…
Hi
I would like to make my app able to do an automatic lightweight migration when I add
new attributes to my core data model.
In the guide from Apple this is the only info on the subject I could find:
Automatic Lightweight Migration
To request automatic…
Hi,
I am currently in the process of creating a new news/publishing site on the Movable Type platform. There are around 20 or so sites with 20,000+ rows of data to be moved/aggregated to ~8 sites (we have a number of location specific sites and are going to…
Hi All,
I have a question regarding implementation of smart-search features. For example, consider something like "smart mailboxes" in various email applications. Let's assume you have your data (emails) stored in a database and, depending on the field…
I'm new to Neo4J and I have, probably an easy question.
There're NodeEntitys in my application, a property (name) is annotated with @Indexed(unique = true) to achieve the uniqueness like I do in JPA with @Column(unique = true).
My problem is, that when…
My app will allow users to create a personalised list of events from a large list of events. I have a table view which simply displays these events, tapping on one of them takes the user to the event details view, which has a button "add to my events".
…
I recently started working on a personal project where I was connecting to a database using Java. This got me thinking. I have to provide the login information for a database account on the DB server in order to access the database. But if I hard code…
Whether you’re sharing a computer with other family members or friends at home, or securing computers in a corporate environment, there may be many reasons why you need to protect the programs, data, and settings on the computers. This article presents…