I'm interested to find out which ORM has best support for Postgres SQL database? Does any mapper have, both, LINQ support and ability to generate model from database?
Q.: How to get a cellular phone SMS "Long code" for use by U.S. carrier subscribers within U.S.?
Background: I'm building a web app that receives queries from/sends answers to cell phones. The app design (and business model) expects to communicate with cell devices via SMS, addressing the web app via an SMS "Long code" (VMN or MSISDN). The mobile phone subscribers will be sending/receiving within the U.S. and using U.S. carriers. Long codes are not available within the U.S. cellular services.
Hi All,
I have a observable collection of viewmodel objects. How can I subscribe to the Property Changed event of each view model in my collection as they are created and track which ones have been changed, so that I can updated them to my database.
List<DomainObject> objectsToSave = new List<DomainObject>();
foreach (Test val in dirtyObjs)
{
objectsToSave.AddRange(val.GetObjectsToSave());
}
//DB changes
bool saveSucceeded = DataServices.SaveMultiple(objectsToSave);
Hi,
Q1 - How can I associate an Edge with a Class? (i.e. like you can with a Vertex)
In my case there are various types of edges I want to be able to model. So my real question I guess is how can I associate some level of data with Edges (e.g. edge type).
The graph I was looking at using was: http://quickgraph.codeplex.com/wikipage?title=BidirectionalGraph&referringTitle=Documentation
thanks
I created a .xcdatamodel Managed Object Model file in Xcode. I selected that file in Groups & Files. Then I go to File New... and nowhere in the iPhone Templates / Cocoa Touch Class templates I see the "Managed Object Class" file template.
Does anyone know what can be wrong?
My question is pretty simple: does hosting a website on Windows Azure, require 24 "compute" hours per day?
That is, what would it cost me to host a website for a month, storing 1GB data, with 1GB transferred out per month?
I understand the data and message pricing model, but is just having a site up there (on Azure) going to cost me $0.12/hr?
Hello,
To "simulate" instances from class diagrams I am using USE But I find very frustating to create instances. I am looking for similar tools like this one. I really like USE, but GUI is painfull. I think, that USE is pretty cool to learn how the model "works".
Do you know similar tools like this one?
Our small concern is entrusted with creating an Application on ASP.NET with client-server model. As we are almost done with the development we are creating a small team for Performance test. I have googled in the net about the topic but without much help. If anyone of you can share 'How, What and Why' about perf test, it would be great help.
hi using Django to create a stock photo site, i have a ImageField in my model, the problem is that when the user update the image field, the original image file isn't deleted from the hard disk.
how can I make to delete those images after an update?
Thanks!
I know only one low-level way of blocking websites - hosts file. However, it is obvious that main stream programs has some other way of achieving this.
I have an idea for new model of this kind of program, but without possibility of blocking sites it is useless :(
I want to ensure that a user editing a particular model is saved in that models updated_by (FK User) field.
I'm using mostly ModelForms (not necessarily the built in Admin), and wondering:
In what cases would I need to override ModelAdmin.save_model() or ModelAdmin.save_formset()?
Or, is that doing it wrong? If it's just the models' save() method that needs to be overridden, is there a proper way to access the request object there?
I have a very large form I need the user to complete. They need to be able to save their progress whether valid or not. When they have come back at a later time, they can update and make valid - then submit the data.
I am using client side scripting (xval), server side attributes on the domain model.
I have convinced a company to change Crystal Reports. But then? What to use? Telerik?
I want:
designer
bind an object model, not a
denormalized view
execute from batch, generate report in batch
export to word or many other formats
reporting site
Uh, my backend is Progress Software, so ODBC driver. Or NHibernate objects...
I only you can limit what a user can do via the user permissions in admin.. But is there a way to limit them in admin via what group you add them to?
I want to allow a certain group to do everything in that model if they belong to a certain group
thanks!
Hey,
Where should I store event methods for button Click event ?Normally it's store in code behind of wpf page,
<Button Name="myButton" Click="myButton_Click">Click Me</Button>
but in MVVM it should be store in other view-model class and bind to click property of button like that??
<Button Name="myButton" Click="{Binding StaticResouces myButton_Click}">Click Me</Button>
Hi im having trouble displaying data in a mcv website, i end up with selectlistitem displayed on the listbox as opposed to the id or value of the object that i am binding
in my controller
I do this
Authors = new SelectList(_authorRepository.GetAll(), "authorId", "Firstname",null),
and im my View
<%= Html.ListBox("AuthorsList", new SelectList(Model.Authors))%
what else am I missing?
hello,
can any one tell me how to do form authentication in asp.net mvc? i had done form authentication for built in database but i dont know how to use it with ADO.net entity model. thank you
is there some way to do databinding with linq2SQL or EntityFramework using "typed links" to the bound property?
Public Class Form1
Dim db As New MESDBEntities 'datacontext/ObjectContext
Dim bs As New BindingSource
Private Sub Form1_Load(sender As System.Object, e As System.EventArgs) Handles MyBase.Load
bs.DataSource = (From m In db.PROB_GROUP Select m)
grid.DataSource = bs
TextBox1.DataBindings.Add("Text", bs, "PGR_NAME")
TextBox1.DataBindings.Add("Text", bs, db.PROB_GROUP) '**<--- Somthing like this**
End Sub
End Class
I'd like to have type checking when compiling and the model changed.
Hi,
I'm using a model UserRepository-User
The Repository is used to Save and Load the User.
I want to be able to set the ID in the Repository, but I don't want it to be access by UI.
The User and Repository are found in a Core project, and the UI in a Web.
Is there a way to do this, like a modifier for the property, or should I put the ID in the User contructor ?
Thanks
Am I missing something or is there no documentation of WPF controls?
When I look at MSDN, it says to reference System.Windows.Controls
(http://msdn.microsoft.com/en-us/library/ms752069.aspx), but this is for winforms?
Where can I find the WPF object model?
I am trying to create something like a rectangular grid with pictures. When a picture is clicked, it should zoom in pushing the other ones out. I don't know what you name you call this particular model with but does anyone have suggestions on where I should start?
Collage Example
Using the lists webservice I retrieve the items from a list. In the XML returned I can see the attribute ows__IsCurrentVersion="1" which I assume is the same as the file object model (i.e. a boolean to say if it is current or not).
However I do not see a way to identify what revision it is? What should that attribute be?
I have the following method, I wish to remove items from my collection that match the product Id. Seems fairly straight forward, but i get an exception. Basically my collection is getting out of sync. So what is the best way to remove an item from a collection.
public void RemoveOrderItem(Model.Order currentOrder, int productId)
{
foreach (var orderItem in currentOrder.OrderItems)
{
if (orderItem.Product.Id == productId)
{
currentOrder.OrderItems.Remove(orderItem);
}
}
}
Exception Details: System.InvalidOperationException: Collection was modified; enumeration operation may not execute
Hi,
My Domain Layer is implemented with Domain Model, and after PEAA, in Data Layer I have to use Data Mapper.
NHiberbate is an implemantation of Data Mapper in C#?
What alternative I have to use Data Mapper in a C# project?
Thanks a lot!
I'm looking into purchasing a netbook for traveling. I realize that most of these machines are designed for surfing the web and checking email. What model(s) are most likely to handle a development environment with Visual Studio 2008?