Questions tagged [domaindatasource]

42 questions
0
votes
1 answer

Inserting an entity and dependent entities using RIA Services

I got a question about inserting an entity with dependent entities using RIA Services (With Silverlight 4.0). Let's say I have an Entity in my (sql) database called "Beer" and one called "Supplier", with a relationship: Beer 1 - n Supplier. There…
0
votes
1 answer

Using Silverlight RIA Services DomainDataSource to query by user

So I am using the SL4 Business Template and the SQL Membership API. I created a user and I created a custom table that ties to that user. So I want to have a datagrid that show the item for the CURRENT (WebContext.Current.User) user. Why is the…
punkouter
  • 5,170
  • 15
  • 71
  • 116
0
votes
1 answer

SIlverlight 4, FilterDescriptor and GUID as FilterOperator

Hey guys, as seen in this post, GUIDs are not supported by the FilterDescriptorts FilterOperator. Has anyone encountered this problem? Is there a workaround? Because, well it pretty much sucks (no filtering by foreign keys and so on... which is…
Dänu
  • 5,791
  • 9
  • 43
  • 56
0
votes
1 answer

Insert an item into a DomainDataSource in a specific position/index

In my silverlight4/C# application, I have a comboBox which is bound to a DomainDataSource. I'm adding some items in the runtime to that DomainDataSource to be shown in the comboBox, but I want to add some items in the beginning or in a specific…
Hashem
  • 453
  • 1
  • 5
  • 17
0
votes
1 answer

SUM and GROUPBY lambda expression on DataDomainService

I have a Silverlight application and a gridview bound from a domaindatasource control, and i am querying a view from domain data source using two parameters, but from the result, i need to sum 4 columns, grouping by the others. My metadata…
raddesso
  • 169
  • 7
  • 14
0
votes
1 answer

DomainDataSource datagrid binding in Silverlight

The above works and data show up as expected: Apple red Banana yellow I don't want all the columns shown in the datagrid, so I tried…
xyk
  • 107
  • 7
0
votes
2 answers

Have the server perform post processing on a string before it is returned via a WCF RIA query?

I've read that you can put business rules on the server when dealing with WCF RIA services, but I'm at a loss for how to accomplish what I what. Basically what I have is, there's a string stored in the database that's encrypted. I have a view that…
cost
  • 4,420
  • 8
  • 48
  • 80
0
votes
1 answer

Add new object to domain data source

it drives me crazy. I'm working at a Silverlight 5 Business Application and using WCF Ria Services (Domain Data Source). In a simple ChildControl I load the defined (see code below) domain data source "ddsTerminKonfiguration". The query method…
Chris
  • 48
  • 7
0
votes
1 answer

Different datacontext between textbox and its tooltip in silverlight

I'm trying to do something apparently easy but I don't know why is not working. This works fine:
nachovall
  • 485
  • 1
  • 5
  • 18
0
votes
1 answer

Supress total page count query (Silverlight DataPager)

I am using a Silverlight DataGrid with a DomainDataSource and a DataPager and EF 4 When using MSSQL server profiler, I noticed 2 queries which we taking the bulk of the data retrieval time. One query gets the data for the given load size, and…
0
votes
1 answer

Silverlight DomainContext load with two separate DomainDataSources

I have a confusion regarding DataContext which i would like someone to confirm or comment please. In plain English, I believe a DataContext is a container which can be filled with entities upon load. e.g. I have two entities named Customers and…
Thr3e
  • 358
  • 1
  • 6
  • 22
-1
votes
0 answers

Train Bert from scratch

I want to pre-train Bert from scratch using my own domain data. Here are my basic info about my data: millions of texts and around 60,000 vocab size; every single text is a list of number, like "2233 3454 3679"; the longest text in my data is less…
1 2
3