Just got node.js running on an ubuntu server instance. Got a couple of simple server apps running. Does anyone know of any REST frameworks that have been built or are in development?
Hello, I have form, where some fields are looks like rows, so I can add/delete them using JS.
For example:
Field with ID=1 (existing row)
<input id="id[1]" type="text" name="id[1]" value="1" />
<input id="name[1]" type="text" name="name[1]" value="100" />
Field with ID=2 (existing row)
<input id="name[2]" type="text"…
After converting my data access layer project from EntityFramework v1 to v4 a got a bunch of errors for each of the entity classes:
Error 10016: Error resolving item 'EntityTypeShape'. The exception message is: 'Unresolved reference 'NS.EntityName1'.'. DataAccessLayer\Model.edmx
and
Error 10016: Error resolving item…
I've seen many examples in LINQ but i'm not able to reproduce the same result in vb.net.
I have following code:
Dim context As New MyModel.Entities()
Dim rnd As New System.Random()
Dim gardens As List(Of Tuin) = (From t In context.Gardens Where _
t.Approved = True And _
…
What publishing frameworks (publishing only, NOT full-blown CMS) based on XML, XSLT sitemaps and pipelines exist, are stable, active, and simpler / lighter than Cocoon?
I have glanced at:
mod_xslt (http://www.mod-xslt2.com/) which seemed to be exactly that, but looks all but dead, and required a complex setup, and…
I am using Entity Frameowrk 4.0 and I am calling a stored procedure which returns an ObjectResult and I tried to use MOQ and have not been able to mock ObjectResult. Has anybody been able to mock ObjectResult using moq?
TIA
Yaz
I am using the following Linq query
from p in Product.Include("ProductDetails.Colors")
where p.ProductID.Equals(18)
select p;
And then using the result of this query to bind the GridView.
The productDetails are bind to the grid fine, but the Colors are not bind. To bind…
Hi All,
I have a Consumer class and a BillableConsumer : Consumer class. When trying to do any operation on my "Consumers" set, I get the error message "Object mapping could not be found for Type with identity Models.BillableConsumer.
From the CSDL:
<EntityType Name="BillableConsumer"…
I apologize if this seems like an excessively dumb question.
I am trying to use the ContextBuilderClass to generate my Context. I am unable to find the proper assembly and namespace to use it though.
Just for reference I am on a full install of VS 2010 Pro.
I get this message regardless of the path used and even if I place the class file in the default directory location.
Zend_Controller_Action_HelperBroker::addPath('./Plugins/Helpers','Helper');
Sorry, An error has occured: Application Error:exception 'Zend_Loader_PluginLoader_Exception' with…
I am trying to create a generic search form to use in an EF app. I want to be ably to specify the entity to query at runtime below is a simplified version of the code.
cx is the contect object, valuelists is the entity in question.
1: Dim q As String = "select c from…
I have the following class:
[MetadataType(typeof(PortalMetaData))]
[System.Web.Mvc.Bind(Exclude = "PortalId")]
public partial class Portal
{
public Portal()
{
this.Created = DateTime.Now;
}
}
public class PortalMetaData
{
[Required(ErrorMessage…
Hi! How do i insert an entity that is derived from another entity. here is my code but it's not working:(applicationreplacement derived from application
Blockquote
ObjectContect _ctx
public void AddReplacementApp(Application entity,ApplicationReplacement…
Hi, im working in a generic repository implementarion with EF v4, the repository must be resolved by Windsor Container.
First the interface
public interface IRepository<T>
{
void Add(T entity);
void Delete(T entity);
T Find(int key)…
I have been fooling around with EF with a database that has implemented user-schema separation with a twist, there are multiple tables with the same name but are separated via the schema.
So like:
admin.tasks
staff.tasks
contractor.tasks
When I created my EF…
I'm trying to use the Repository Pattern with EF4 using VS2010.
To this end I am using POCO code generation by right clicking on the entity model designer and clicking Add code generation item. I then select the POCO template and get my classes.
What I would…
I have to do queries on uncommitted changes and I tried to use transactions, but I found that it do not work if there are exceptions.
I made a simple example to reproduce the problem.
I have a database with only one table called "Tabella" and the table has…
Hi ,
iam newbie to clojure, just curious as to can i use jersey REST api as REST webframework for clojure? all along i see people talking about compojure? if you can provide me any resource
or reasoning that would be great
Thank you
In VS2008, I think it is EF1.0, this works just fine.
string queryString = @"SELECT VALUE USERS FROM ProjectDBEntities.Users AS User
INNER JOIN ProjectDBEntities.Favorites AS F ON F.FavUserId = User.UserId
WHERE F.UserId = " + 3 +…
HI all
I was trying to follow the POCO Template walkthrough . And now I am having problems using it in n-tiers design.
By following the article, I put my edmx model, and the template generated context.tt in my DAL project, and moved the generated…
hello
i created a form that it decorates as table form
its my code for decorates
$this->setElementDecorators(array(
'ViewHelper',
'Errors'
array(array('data'=>'HtmlTag'),
…
* EDIT *
Sorry, I should make it clearer.
Imagine I have an entity:
public class MyObject
{
public string Name { get; set; }
}
And I have a ListBox:
<ListBox x:Name="lbParts">
<ListBox.ItemTemplate>
…
So I have a stored procedure called Spr_EventLogCreate defined in my database. I have created a function import in my data model called LogEvent with no return type, and I can see this function in the Model Browser tree at
…
I'm new to Zend Framwork and this is an issue I've been struggling for several hours already...
I'm trying to chain Hostname and standard Route in order to get url with subdomain+subfolders ie.:
http://…