Module: Mkxms::Mssql::Property::Hosting
- Included in:
- CheckConstraint, ClrAggregate, ClrFunction, ClrStoredProcedure, ClrType, ForeignKey, Function, Index, KeylikeConstraint, Role, ScalarType, Schema, StoredProcedure, Synonym, Table, TableType, Trigger, View
- Defined in:
- lib/mkxms/mssql/property_handler.rb
Instance Method Summary collapse
Instance Method Details
#extended_properties_sql ⇒ Object
23 24 25 26 27 28 29 30 31 32 33 |
# File 'lib/mkxms/mssql/property_handler.rb', line 23 def extended_properties_sql self.extended_properties.each_pair.map do |name, value| Mkxms::Mssql::Property.addition_sql(name, value, self.property_subject_identifiers) end.tap do |v| class <<v def joined_on_new_lines(indent: ' ') map {|i| "\n" + indent + i}.join('') end end end end |