Use custom data sources in RDLC reports - visual-studio

I am doing a analysis on rdlc reports using Visual Studio. Is there a way I can provide a dynamically generated data set instead of database and tables. This way I can use the index built on entities rather than directly querying from the database.

Yes, you can pass a Dataset to ReportDataSource either generated/populated dynamically or filled with data taken from your database.

Related

How to extract data from an already existing database with genexus?

I am trying to create a model on genexus that gets data from a determined table from a server to create a File.
I have tried doing it while creating a new knowledge base but I didn't know how I can get the data I need or how I can connect the existing tables to my knowledge base.
See this 2 links from GeneXus documentation:
https://wiki.genexus.com/commwiki/servlet/wiki?2414,Reverse%20Engineering%20Process
https://wiki.genexus.com/commwiki/servlet/wiki?6627,Database+Reverse+Engineering+Wizard,
Best Regards.

How to convert json file to excel/sql query

I have an ETL process where supplemental/delta load is generated by source system vendor team in a json file and given to Dev team to load in table. And source system has agreed to provide the testing team with excel spreadsheet with changes/updates to data. Is there a way where Json file can be converted to Excel using some code/macro. There is no indicator or date field to track changes in the table loaded. SO inputs are excel sheet and json file. Since it is a regulated industry, using online converters is not recommended. Any ideas on how to do this, or better any other other approach for testing data would be helpful.
Is there a way where Json file can be converted to Excel using some code/macro
Maybe, but asking for such "libraries" is off topic here.
You've listed Hadoop in your tags, so you are welcome to drop JSON into HDFS, load a table schema over it in Hive (or Impala) using JSONSerde.
Then you can render the data into Excel using an ODBC connector for Hive (or Impala)

Synching SharePoint 2013 List with Oracle

I'm having an issue where a customer wants to populate a SharePoint 2013 List with a data from Oracle (using a query) and have that List automatically synched with the Oracle database daily.
From my understanding the External Content Type is just a direct view of the external database pulled in real-time to SharePoint? What if in the SharePoint the user adds more data for the External List? When the External List is refreshed, will the key/id relationship (if any) exist in the External List so that user entry will map to the correct External List entry (with the data from Oracle)?
How should I go about any Oracle data synchronization with any List in SharePoint automatically? What are the ways I should go about doing this?
I haven't exactly worked with External Content Types. But I did displayed SQL table into SharePoint using Visual WebPart.
If you are allowed to deploy sandbox/farm code into your SharePoint Environment, than you can create a visual webpart and do sql query to your oracle database just like you would do with ado.net applications and display the result in your sharepoint page. You can create a asp.net gridview to do CRUD operations as well.
View and modify data stored at an external database is an OOTB Feature of SharePoint. The Feature is called BDC and supports live CRUD operations. So there is no synchronization required.
There are plenty samples on the net. For oracle have a look to
https://msdn.microsoft.com/en-us/library/office/ff464424(v=office.14).aspx
or with a 3rd party tool:
http://www.layer2solutions.com/en/community/FAQs/BDLC/Pages/How-to-connect-SharePoint-list-with-Oracle-data.aspx

"Update Model From Database" does not work in .edmx Entities file. My Database is DB2

I am trying to reflect new changes or add a new table to my model in EDMX file using 'Update Model From Database.' Then i get this error message in Update Wizard saying "Error retrieving Database information. An Item with the same key has already been added."
I am using DB2 database and VS 2010.
Please let me know how i can add a new table or reflect the changes to my model with the changes made to the database. Right now i am deleting the entire model and recreating the new one.
Any help is appreciated.
I was getting this same error. In my case with DB2 9.5 LUW the solution was to remove duplicate named stored procedures on the server. DB2 lets you have multiple stored procs with the same name but different definitions (ie different parameters). But apparently this isn't compatible with Entity Framework. Fortunately for me the duplicates were actually unused old versions.
An alternative is to edit your EDM file in XML editor mode.
I have followed the solution provided by vikrantislav. And in addition to that, I made one more change. By default EF tool brings objects from all the exiting schemas. So make sure you don't have duplicate store procedures in any of those schemas or change the connection properties to filter out by a specific schema. In my case I have filtered out by specific schema as I don't want to mess up with someone else's store procedures in other schemas. And now "update model from database" wizard started working. what a relief.
Schema filter in connection properties window

Best way to generate report using multiple databases

I am new to the reporting world. Wanted to know which is the right solution to about for generating a single report by querying for data from multiple databases. We are planning to use some reporting solution like Jasper Reports or BIRT. Generally the databases are going to be postgresql.
Please do feel free to let me know about any other better solutions as well.
Thanks.
With BIRT you can use as many data sources as you like; independently or together as joint data sets. A Joint Data Set is basically a join you create at the report level. The cool think here is that you can in effect create the join accross data bases, even instances.
All the expected sources are supported, even some not so expceted ones. Any JDBC DB, Web Servce, Flat File, POJOs (via a Scripted Data Source), XML, Native DB Driver (i.e. Oracle, SQL Server, etc...). You can even use on BIRT Report as a data source for a secondary BIRT report. That gets a bit beyond the scope of the question, but opens up a huge amount of options in terms of deployment and felxibility.
In JasperReports if you are generating the report on the server, and streaming it back to the client as PDF or HTML, then you can use any datasources you want, being it:
Multiple databases
Objects, i.e. Java Beans
Text files/XML
Web services
... etc

Resources