使用 Subsonic 3.0.0.5 迁移添加列 [英] Adding Column Using Subsonic 3.0.0.5 Migration

查看:24
本文介绍了使用 Subsonic 3.0.0.5 迁移添加列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何使用 Subsonic 3.0.0.5 MIGRATIONS 将新列插入到现有数据库表中.

I want to know that How to Insert New Columns to an existing database Table using Subsonic 3.0.0.5 MIGRATIONS.

基本上我想更改 MS SqlServer 数据库中的现有表并向其中添加另外三列.

Basically I want to alter an existing table in MS SqlServer database and add three more columns into it.

请告诉我我将如何做到这一点

Please tell me How I will be able to do it

问候,

纳维德汗

推荐答案

只需更改您的对象,该列就会被添加/更新.因此,如果您有一个名为Post"的对象并添加了一个属性,它将作为列添加到数据库中.

Just change your object and the column will be added/updated whatever. So if you have an object called "Post" and add a property, it will be added as a column in the DB.

观看此视频...

http://subsonicproject.com/docs/Simple_Repo_5_Minute_Demo

这篇关于使用 Subsonic 3.0.0.5 迁移添加列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆