public static void Create(FunctionalityImageDataModel data, RequestProfile requestProfile) { //var sql = CreateOrUpdate(data, requestProfile, "Create"); //DBDML.RunSQL("FunctionalityHistory.Insert", sql, DataStoreKey); var sql = "FunctionalityImageInsert"; var parameters = new List <SqlParameter>(); parameters.Add(new SqlParameter(BaseDataModel.BaseDataColumns.AuditId, requestProfile.AuditId)); parameters.Add(new SqlParameter(BaseDataModel.BaseDataColumns.ApplicationId, data.ApplicationId)); parameters.Add(new SqlParameter(FunctionalityImageDataModel.DataColumns.Title, data.Title)); parameters.Add(new SqlParameter(FunctionalityImageDataModel.DataColumns.Image, data.Image)); parameters.Add(new SqlParameter(FunctionalityImageDataModel.DataColumns.Description, data.Description)); DBDML.RunSQLWithParameters("FunctionalityImage.Insert", sql, parameters.ToArray(), DataStoreKey); }