コード例 #1
0
ファイル: DB.Designer.cs プロジェクト: andremorata/Caixa
 /// <summary>
 /// Create a new Permissoes object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="id_Feature">Initial value of the Id_Feature property.</param>
 /// <param name="id_Grupo">Initial value of the Id_Grupo property.</param>
 /// <param name="ativo">Initial value of the Ativo property.</param>
 public static Permissoes CreatePermissoes(global::System.Guid id, global::System.Guid id_Feature, global::System.Guid id_Grupo, global::System.Boolean ativo)
 {
     Permissoes permissoes = new Permissoes();
     permissoes.ID = id;
     permissoes.Id_Feature = id_Feature;
     permissoes.Id_Grupo = id_Grupo;
     permissoes.Ativo = ativo;
     return permissoes;
 }
コード例 #2
0
ファイル: DB.Designer.cs プロジェクト: andremorata/Caixa
 /// <summary>
 /// Deprecated Method for adding a new object to the Permissoes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPermissoes(Permissoes permissoes)
 {
     base.AddObject("Permissoes", permissoes);
 }