I've got a database which has a table called m_AttentionFlags which references a primary key in m_PermissionCollections. I've built an EntityFramework model from this and created a DomainService.
Now using RIA on the client I have loaded the flags into the local context on initialization of a control:
var query = _context.GetM_Attenti...
I have zero way to pass a query to RIA Services.
You see; I have the unfortunate task of running NHibernate over Oracle, behind RIA Services and are not using NHibernate.Linq.
So, is there any way, any way at all to pass a object, my request object, back to a query?
...
I am trying to bend the DataForm to support many-to-many and bind lists of child objects. I've gotten as far as being able to control the display of the objects and have access to the on change event.
For example:
OfferEditorForm.AutoGeneratingField += new EventHandler<DataFormAutoGeneratingFieldEventArgs>(OfferEditorFormGeneratingFiel...
I am currently researching .NET RIA Services however I am having trouble finding a definitive list of the benefits of RIA services compared to plain WCF to Silverlight, or event a list of the key components that make up RIA Services. I also find it hard to see where RIA services sits in the development model and exactly what it provides ...
I'm trying to get a presentation model (discussed here and here) working in RIA. All the examples I can find are simple, flat data entities with no 1-many or many-many relationships, which are what I can't get working - specifically, on updates and inserts into associative relationships.
Queries I can get working fine - I have my presen...
I'm sharing data via RIA services using a presentation model on top of LINQ to SQL classes. On the Silverlight client, I created a couple of new entities (album and artist), associated them with each other (by either adding the album to the artist's album collection, or setting the Artist property on the album - either one works), added ...
My question is a rephrase of my previous unanswered one for clarification.
WCF Ria Services is basically a web service (SOAP), exposed via the .svc style web service. How can I reuse my ria domain service (the one containing the CRUD operations) to construct a data service on WCF Data Services?
Thank you and I tried to narrow down my qu...
I constructed my Entity Model. One of my business objects,let's call it Store has a spatial data type. Very quickly I figured out that spatial fields aren't mapped via EF4. However I struggled my way out, by editing the xml declarations defining a query like the following:
<EntitySet Name="Stores" EntityType="Eltrun.OnShelfAuditModel....
I'm trying to get my brain wraped around Silverlight RIA
I'm to a point where I can create an object with a collection of objects which also has a collection of objects.
Test object that holds test questions, that holds question answers.
I have the associations set up and the the data makes it to to silverlight app.
So in my loaded c...
Is Silverlight RIA worth learning or should I stick to normal Silverlight?
Background:
I have done a couple small applications in WPF
I have 12 years expereince with business apps in the VB6/WinForms model
I expect to continue building business applications
My applications will be used internally
While ClickOnce does work for us, we w...
The type or namespace name
'Resources' does not exist in the
namespace 'MyWebProject.Web'
(are you missing an assembly
reference?) C:\Users\...\MySecondProject\Generated_Code\MyWebProject.Web.g.cs
I am having some problems trying to add a second SL client project to my (Ria services) SL Business Application. It has to do w...
Hello,
I'm working with SL4 & .Net Ria Services. My datamodel has Devices with a 0..* property called DeviceAndStates, through this <riacontrol/> I get all Devices and his DevicesAndStates of a particular type.
<riaControls:DomainDataSource Name="deviceDomainDataSource" QueryName="getDevicesWithOpenStateQuery" .../>
In the client sid...
I have some trouble getting my head around how to implement more complex operations in a Domain Service in RIA Services. This is all Silverlight 4, VS 2010 and .Net Framework 4 in Beta 2.
Goal
I wish I could create an operation on my LinqToEntitiesDomainService that would have a signature something like this:
public UnwieldyOperation...
I'm still trying to get my feet on the ground with Silverlight and RIA Services, and of course starting with some of the more "fun" stuff like grids and intelligent paging. I can connect to RIA Services (using a home-grown ORM, not L2S or EF), get data on the grid, and connect to a DataPager. The domain service is working well with the h...
I'm having a problem passing an list of application-defined objects to RIA services. I get a compile error saying "Error Parameter 'filters' of domain operation entry 'GetPagedExams' must be one of the predefined serializable types."
Here's the query in the DomainService:
[Query]
public IQueryable<ExamEntity> GetPagedExams(int first, i...
Hi all,
Using Silverlight 3 with RIA: What's the difference between the LoadOperation.Completed event and using a callback through the DomainContext.Load method? Both fire asynchronously and both provide access to the LoadOperation. When/why would I use one over the other?
Thanks :-)
...
I want to expose my RIA DomainService with a REST head as described in this tutorial by Brad Abrams: http://blogs.msdn.com/brada/archive/2009/07/15/business-apps-example-for-silverlight-3-rtm-and-net-ria-services-july-update-part-5-astoria-add-reference-and-winforms.aspx
It seems the tutorial was targeted at the July 09 RIA Services rel...
Hi everybody!
Just learning Silverlight 4/RIA and i 'm stuck in a weird problem:
setup an ASP.NET MVC project as the project hosting the Domain service. In this i tried to get data from the Domain Service which worked fine (i'm using a repository which gets resolved using Windsor Castle).
Now i tried to setup a SL4 project. I though i ...
Hello everbody!
Making my first steps in RIA Services (VS2010Beta2) and i encountered this problem:
created an EF Model (no POCOs), generic repository on top of it and a RIA Service(hosted in an ASP.NET MVC application) and tried to get data from within the ASP.NET MVC application: worked well.
Next step: Silverlight client. Got a refe...
Hi everybody!
I want to implement multi tenancy using Windsor and i don't know how to handle this situation:
i succesfully used this technique in plain ASP.NET MVC projects and thought incorporating in a RIA Services project would be similar.
So i used IHandlerSelector, registered some components and wrote an ASP.NET MVC view to verify...