Things that people perceive as hard to changeMartin fowler
Il faut prévoir le schéma de la base de données! Elle sera difficile à changer une fois en production!
[Migration(98)]
public class IAdoria11_booking : Migration
{
public override void Up()
{
Alter.Table("Booking").AddColumn("canceled").AsBoolean().NotNullable().WithDefaultValue(false);
}
public override void Down()
{
Delete.Column("canceled").FromTable("booking");
}
}
Are we really so naive as to think that the best way to write a complex system is to throw a bunch of components into a bag and shake it until it works?Uncle Bob