module Mkxms::Mssql::Property::SchemaScoped

Public Instance Methods

property_subject_identifiers() click to toggle source
# File lib/mkxms/mssql/property_handler.rb, line 37
def property_subject_identifiers
  ['SCHEMA', Utils::unquoted_name(schema), self.class::SQL_OBJECT_TYPE.upcase, Utils.unquoted_name(name)]
end
subitem_extended_properties_sql(subitem) click to toggle source
# File lib/mkxms/mssql/property_handler.rb, line 41
def subitem_extended_properties_sql(subitem)
  subitem.extended_properties.each_pair.map do |name, value|
    Mkxms::Mssql::Property.addition_sql(
      name, value,
      property_subject_identifiers + [subitem.class::SQL_OBJECT_TYPE.upcase, Utils.unquoted_name(subitem.name)]
    )
  end
end