Questions tagged as 'scaffold'

1
answer

ASP.NET MVC Scaffolding for any table

Does anyone know of a way I can automatically CRUD for my bank tables using MVC? I have 5 tables and would like to automatically generate SinglePage apps for them, without having to generate multiple views/controllers . Th...
asked by 19.12.2016 / 15:37
2
answers

Is it a bad idea to versionarmos classes automatically generated with JiBX?

Where I work we have a (very old) project that uses JiBX to generate some classes from schemas . These classes are generated in the build so the source does not exist in the project. Someone gave the bright idea of getting these source g...
asked by 26.07.2017 / 21:08
1
answer

How to do Scaffolding in ASP.Net MVC with texts and resources in pt-BR?

How to make the text generated by Scaffolding of ASP.Net MVC be texts in pt-BR? Note: You are not using ASP.NET MVC en-US features. Features only translate automatically generated messages, and are not part of Scaffolding .     
asked by 01.07.2016 / 02:59
1
answer

When changing a Model, how to redo Scaffolding?

I have a model, called CombustivelModels , where I made a Scaffolding generating Controller and Views , my doubt is, when doing a revision in this Model , you can update via Scaffolding o Controller...
asked by 30.11.2016 / 14:39
2
answers

Error Generating Scaffold

I made the scaffolding generating the controller, and Index is experiencing an error in    (f = > f.Cargo) with this error:    Can not convert lambda expression to type 'string' because it is not a   delegate the class Employee...
asked by 10.11.2016 / 23:27
0
answers

SolutionDir in the T4 Template

I'm trying to load an assembly into the template T4, however when trying to use $(SolutionDir) my assembly does not load, it only works if I put the full path. This works <#@ assembly name="d:\Projetos\Meus.Scaffold\bin\Debu...
asked by 04.08.2016 / 14:04
2
answers

Error When Adding Controller in ASP.NET MVC

Good morning, I'm making a small solution using ASP.NET MVC with Entity Framework 6 to attend a work from my course. I created the context class: namespace WillianRibeiro.EstudandoMVC.Web.Data{ public class EstudandoMVCContext : DbContext {...
asked by 10.08.2017 / 16:42
2
answers

ASP.NET MVC Entity - Scaffolding for more than one table simultaneously

I've seen that an ASP.NET MVC project with C # has 2 magic tools that are EntityFramework and Scaffolding. With them it is possible in a few minutes to have all the registration features with in the database. Just bring the models with Entity an...
asked by 01.08.2017 / 19:50
1
answer

Error trying to generate Scaffolding

I'm trying to generate a Scaffolfing for the model below: namespace OneeWeb_v2.Models { public class CombustivelModels { [Key] public int CombustivelId { get; set; } [Required] public decimal...
asked by 29.11.2016 / 18:26
1
answer

How to make a table in a scaffold rails with the attributes of another scaffold

Personal I'm having a hard time! I created a scaffold called book and one called Loans then I created a report call in the report I want to search for books for books. I'm using gem ransack to do searches within the same scaffold, but as in t...
asked by 07.06.2018 / 18:37