﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Business Objects and Data Access (How do I?)  » Create Descriptor</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 08 Jun 2026 21:33:40 GMT</lastBuildDate><ttl>20</ttl><item><title>Create Descriptor</title><link>http://forum.strataframe.net/FindPost3477.aspx</link><description>When creating custom code, I have the option "Create Descriptor" selected. When I run the app, I get an error that says I may be missing a custom descriptor.&lt;/P&gt;&lt;P&gt;With this option selected, do I still need to do this? If so, what does this option do?</description><pubDate>Tue, 10 Oct 2006 15:50:22 GMT</pubDate><dc:creator>Kevin Lingofelter</dc:creator></item><item><title>RE: Create Descriptor</title><link>http://forum.strataframe.net/FindPost3480.aspx</link><description>OK, it was creating the descriptor properly when the checkbox was checked, but it was not adding the descriptor to the PropertyDescriptors collection within the business object, so I corrected the problem and it will be in the next update.&amp;nbsp; But, like I said, that workaround will work until we get you another update.</description><pubDate>Tue, 10 Oct 2006 15:50:22 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item><item><title>RE: Create Descriptor</title><link>http://forum.strataframe.net/FindPost3479.aspx</link><description>That is a pending fix, actually... the BOMapper isn't creating the property descriptors, even when the Create Descriptor option is checked.&amp;nbsp; I'll have to debug it, because the code for the code generation is correctly testing on the property.&amp;nbsp; &lt;/P&gt;&lt;P&gt;However, there is a workaround for custom properties.&lt;/P&gt;&lt;P&gt;using MicroFour.StrataFrame.Business;&lt;BR&gt;...&lt;/P&gt;&lt;P&gt;protected override FieldPropertyDescriptor[] GetCustomBindablePropertyDescriptors()&lt;BR&gt;{&lt;BR&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return new FieldPropertyDescriptor[] { new ReflectionPropertyDescriptor("MyProperty", typeof(MyBusinessObject)) };&lt;BR&gt;}&lt;/P&gt;&lt;P&gt;You have to do this whenever you create a custom property that is not part of the designer file if you want to be able to bind to the property.</description><pubDate>Tue, 10 Oct 2006 15:39:16 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>