Online: 15999
To give different name to the Model and still map it with the database table name, we can use Table attribute in the Model class.
[Table("Files")]
public class FilesModel
{
}
Here, despite our Model name is FilesModel, however this Model is mapping with “Files” table of the database.