/// <summary> /// 用于向 aspnet_SchemaVersions EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToaspnet_SchemaVersions(aspnet_SchemaVersions aspnet_SchemaVersions) { base.AddObject("aspnet_SchemaVersions", aspnet_SchemaVersions); }
/// <summary> /// 创建新的 aspnet_SchemaVersions 对象。 /// </summary> /// <param name="feature">Feature 属性的初始值。</param> /// <param name="compatibleSchemaVersion">CompatibleSchemaVersion 属性的初始值。</param> /// <param name="isCurrentVersion">IsCurrentVersion 属性的初始值。</param> public static aspnet_SchemaVersions Createaspnet_SchemaVersions(global::System.String feature, global::System.String compatibleSchemaVersion, global::System.Boolean isCurrentVersion) { aspnet_SchemaVersions aspnet_SchemaVersions = new aspnet_SchemaVersions(); aspnet_SchemaVersions.Feature = feature; aspnet_SchemaVersions.CompatibleSchemaVersion = compatibleSchemaVersion; aspnet_SchemaVersions.IsCurrentVersion = isCurrentVersion; return aspnet_SchemaVersions; }