Пример #1
0
        public override void Up()
        {
            string splitStringsFunction = EmbededResourceHelper.ReadFromEmbededResource("SunLine.Community.Repositories.Migrations.Functions.SplitStrings.sql");

            Sql(splitStringsFunction);

            string sendTransmitProcedure = EmbededResourceHelper.ReadFromEmbededResource("SunLine.Community.Repositories.Migrations.StoredProcedures.SendTransmit.sql");

            Sql(sendTransmitProcedure);

            string sendMentionsToUsersProcedure = EmbededResourceHelper.ReadFromEmbededResource("SunLine.Community.Repositories.Migrations.StoredProcedures.SendMentionsToUsers.sql");

            Sql(sendMentionsToUsersProcedure);

            string sendMessageToObserversProcedure = EmbededResourceHelper.ReadFromEmbededResource("SunLine.Community.Repositories.Migrations.StoredProcedures.SendMessageToObservers.sql");

            Sql(sendMessageToObserversProcedure);

            string publishMessageProcedure = EmbededResourceHelper.ReadFromEmbededResource("SunLine.Community.Repositories.Migrations.StoredProcedures.PublishMessage.sql");

            Sql(publishMessageProcedure);
        }
Пример #2
0
        public override void Up()
        {
            string deleteMessageProcedure = EmbededResourceHelper.ReadFromEmbededResource("SunLine.Community.Repositories.Migrations.StoredProcedures.DeleteMessage.sql");

            Sql(deleteMessageProcedure);
        }