I have a use case where I need to insert/update & delete data in SF via ADF. The salesforce connector that's native to ADF lets you insert or upsert but I don't see a delete option. I am curious if there is a native way of doing this from data factories ?
Related
We are trying to insert entities into a local storage table using Azure logic action. We are using Microsoft Azure storage emulator for storage. But we could not find built in action in azure logic apps to insert entities into table. As of now we could see below options ,
Delete table(preview)
Create table(preview)
List tables(preview)
Is there any option to insert entities into local storage table?
You will find insert entity as below:
Here i used Consumption plan while creating logic app
or
Is it possible to set up a pipeline in Azure Data Factory that performs a MERGE between the source and the destination rather than an INSERT? I have been able to successfully select data from my source on-prem table and insert into my destination, but I'd really like to set up a pipeline that will continually update my destination with any changes in the source. E.g copying new records that are added to the source, or updating any data which changes on an existing record.
I've seen references to the Data Sync framework, but from what I can tell that is only supported in the legacy portal. My V12 databases do not even show up in the class Azure portal.
There is the Stored Proc activity which could handle this. You could use Data Factory to land the data in a staging table then call the stored proc to perform the MERGE. Otherwise Data Factory logic is not that sophisticated so you could not perform a merge in the same way you could in SSIS for example. Custom activities are probably not suitable for this, IMHO. This is also in line with Data Factory being ELT rather than ETL.
I am using MVC 4 and SQL Server with my application database. I want to add user authentication where the user will have extra fields when registering (e.g. address, telephone, etc...). What is the correct way to accomplish this?
I have considered the following options:
Generate a separate aspnetdb db and authenticate against it, alter the user columns in it and use the main application db after authentication, presumably using sessions to store user info.
Don't create a aspnetdb, but add the aspnetdb tables to the application db and add additional fields to the relevant generated table.
As #2 above, but create a separate user table in the application db and join the relevant aspnetdb on an existing table.
ASP.NET MVC 4 uses the SimpleMemebrship provider out of the box. You could add custom fields to the UserProfile table. Here's a step-by-step article explaining how you could achieve that.
I am using Yii to create a web application that allows me to view, retrieve, add, and delete information from tables in a MySQL database I have already created.
Is there a way to implement this web app so that I can add or delete tables from the database using the webapp instead of having to login to phpmyadmin?
For example, My database might have 2 tables: "Employee" and "Department". How can I customize my Yii webapp so that I can add a third table "Location" on the fly, using the webapp?
Use the CDBCommand class. It has many database management methods, including dropTable and createTable
In Yii there are having CDbCommand class. With the help of this user can customize database easily. You can create, delete and update table easily with the help of this.
With the help of dropTable() method you can easily delete the table from database.
Its help you
I used Visual Studio 2010, MVC 3 and Entity Framework 4.1 (Database First) to create a web application using an existing database. In other words the structure of the database was used to generate the basic code for the models. I created controllers with "Controller with Read/Write actions and views, using EntityFrameword" as scaffolding option. However, I cannot see the data that was already in my database when I access the web application, and if I insert new data, I can see it using the web application, but I cannot see it in my database. I am now wondering where my web application is fetching and storing its data. It is as if a new database with an identical structure had been created elsewhere, but I don't know where.
By the way, I specified "New Data Context..." as Data Context Class when creating my first controller.
I suppose that you should start create Db (or another one scenerio to create new db and drop ex)
DropCreateDatabaseAlways<OhMyContext> initDb =
new DropCreateDatabaseAlways<OhMyContext>();
And after that
using (OhMyContext context = new OhMyContext())
{
initDb.InitializeDatabase(context);
}
and now you can use your db. it will create SQL server as defined config.
of course you should use your DbSet<T> as collections. but data will be modified (update, delete or insert) after context.SaveChanges().
gl.