Questions tagged [data-access-app-block]
14 questions
6
votes
2 answers
How to make app lock app in android?
I have to develop an app locker for Android where the user can block apps and other users can not access these apps without an access key.
I have installed an app but I don't know how to lock this app.
Please suggest me something.

Vishnu
- 711
- 2
- 6
- 11
3
votes
3 answers
Configuring Enterprise Library 5.0 Data Access Application Block
I'm trying to figure out how to configure the enterprise library 5.0 Data Access Application Block.
When running my unittest, I get the following error:
Microsoft.Practices.ServiceLocation.ActivationException was caught
Message=Activation error…

Koen
- 2,501
- 1
- 32
- 43
3
votes
1 answer
Why is a call to DatabaseInstance.ExecuteSprocAccessor(...) taking so long for such a simple query?
Very odd slowdown when calling the Data Access Application block.
The SP ("QuestionsToBeAnswered") it's calling returns 58 rows with three columns (two GUIDs and an integer: 21AF77DA-2E76-47DB-AB54-0E5C85CD9AD8, 21AF77DA-2E76-47DB-AB54-0E5C85CD9AF0,…

David Waldock
- 31
- 2
1
vote
3 answers
Retrieving SQL Server database schema and objects and reflect in a .Net application
What is the simplest way to reflect the SQL Server database schema with all its objects in a .Net application?
Basically I would like my application to scan the database schema and present me all tables and other objects. Further I should be able to…

Kabeer
- 4,138
- 7
- 40
- 62
1
vote
2 answers
Moq in Microsoft Data Access Application Block
I just downloaded the latest release of the source code to the Microsoft Enterprise Library. When I tried to build the solution in Visual Studio 2010, I get the following error:
The type or namespace name 'Moq' could
not be found (are you…

Michael Kniskern
- 24,792
- 68
- 164
- 231
1
vote
0 answers
Data Access Application Block Configaration settings
I am using DAAB 5.0 in my WCF application, I need to add the following code in my Web.Config for DAAB to work

Vamsi
- 156
- 1
- 8
0
votes
0 answers
AppBlock blocks AppBlock
When I try to open Appblock, it says Appblock is blocked by Appblock. Somehow I added appblock itself to be blocked mistakenly. What should I do? It doesnt let me to enter pincode to open appblock. Can you please help me. Thanks.

ferhat kul
- 43
- 1
- 7
0
votes
1 answer
Using "LINQ to SQL" and "WCF Data Services" on top of Data Access Application Block
In my application, the entity database schema is created after application deployment based on inputs captured from end user, using a tool. I cannot use Entity Framework in this situation, since modeling is not possible without development…

Kabeer
- 4,138
- 7
- 40
- 62
0
votes
2 answers
.Net Enterprise Library DAAB - Using Accessors to get Stored Proc Output params and Return values
How to access stored procedure output parameters and/or return values using the Accessors in DotNet Enterprise Library Data Access Block ?
Thanks.

KSurya
- 1
- 1
0
votes
2 answers
How to Populate a dropdown using Enterprise Library 5.0
Is there a simple code to populate a dropdown box using Enterprise Library 5.0 DAAB?
I've tried this, but it is not working:
cmbOffice.DataSource = _db.ExecuteDataSet(
CommandType.Text,
"select office_id, office_name from…

Vivek Chandraprakash
- 1,165
- 2
- 21
- 54
0
votes
1 answer
Parameter discovery is not supported for connections using GenericDatabase.
I have been trying create my own DbProvider and configure it with EnterpriseLibrary but I'm running through below issue
Parameter discovery is not supported for connections using GenericDatabase. You must specify the parameters explicitly, or…

sudhir
- 1,387
- 3
- 25
- 43
0
votes
1 answer
How to ensure thread safety when using Enterprise Library's Data Acces
I have an application that runs multiple concurrent background processes to insert data into the database using the Enterprise Library's Data Access application block.
Each of the background thread uses the DatabaseFactory.CreateDatabase passing in…

ptn77
- 567
- 3
- 8
- 23
0
votes
1 answer
How to use ExecuteSprocAccessor of Enterprise Library Data Access Application Block to return multiple Tables?
I'm using ExecuteSprocAccessor to retrieve data , it is working fine when returning a single datatable i.e I can convert in to my custom IEnumerable object ExecuteSprocAccessor but my SP returns multiple tables how to collect that ?? Is it possible…

sudhir
- 1,387
- 3
- 25
- 43
0
votes
2 answers
Database.ExecuteSprocAccessor() not mapping blob data correctly
If anyone can help me figure this out, I would greatly appreciate it. For starters, I have a class like so:
public class Blob
{
public int BlobID { get; set; }
public string BlobName { get; set; }
public string FileName { get; set; }
…

ryanulit
- 4,983
- 6
- 42
- 66