title: Green Dao, ContentProvider generation
body: <p>how to use this template GreenDao generator to generate ContentProvider class:
  <a href="https://github.com/greenrobot/greenDAO/blob/master/DaoGenerator/src-template/content-provider.ftl" rel="nofollow">https://github.com/greenrobot/greenDAO/blob/master/DaoGenerator/src-template/content-provider.ftl</a></p>
  
  <p>And what it means this parameters:</p>
  
  <pre><code>public static final String BASE_PATH = "${contentProvider.basePath}";
  </code></pre>
  
  <p><a href="https://github.com/greenrobot/greenDAO/blob/master/DaoGenerator/src-template/content-provider.ftl#L28" rel="nofollow">https://github.com/greenrobot/greenDAO/blob/master/DaoGenerator/src-template/content-provider.ftl#L28</a></p>
  
  <pre><code>private static final String PK = ${entity.classNameDao}.Properties.${entity.pkProperty.propertyName?cap_first}.columnName;
  </code></pre>
  
  <p><a href="https://github.com/greenrobot/greenDAO/blob/master/DaoGenerator/src-template/content-provider.ftl#L36" rel="nofollow">https://github.com/greenrobot/greenDAO/blob/master/DaoGenerator/src-template/content-provider.ftl#L36</a></p>
  
  <p>And how i can implement THIS:</p>
  
  <p><code>
  &lt;#if contentProvider.isReadOnly()&gt;</code>
  <a href="https://github.com/greenrobot/greenDAO/blob/master/DaoGenerator/src-template/content-provider.ftl#L80" rel="nofollow">https://github.com/greenrobot/greenDAO/blob/master/DaoGenerator/src-template/content-provider.ftl#L80</a></p>